Delete a contact
Remove one contact from a contact book.
DELETE
https://app.usenotix.dev/api/v1/contactBooks/{contactBookId}/contacts/{contactId}Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Remove one contact from a contact book.
Path parameters
contactBookIdstringrequired
contactIdstringrequired
Headers
Authorizationstringrequired
Bearer followed by your API key.
curl -X DELETE "https://app.usenotix.dev/api/v1/contactBooks/<contactBookId>/contacts/<contactId>" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.contacts.delete("cb_123", "cnt_456");
from notix import Notix
notix = Notix() # reads NOTIX_API_KEY
result, _ = notix.contacts.delete(book_id="cb_123", contact_id="cnt_456")
use Notix\Notix;
$notix = new Notix(getenv('NOTIX_API_KEY'));
$result = $notix->contacts->delete('cb_123', 'cnt_456');
Response200
{
"success": true
}