Contacts

Delete a contact

POST https://demo.notifuse.com/api/contacts.delete

Deletes a contact from the workspace by email address. This action is permanent and cannot be undone.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Body application/json

workspace_id string required

The ID of the workspace

Example ws_1234567890
email string<email> required

Email address of the contact to delete

Example user@example.com

Response

200 Contact deleted successfully object
success boolean

Whether the deletion was successful

Example true
400 Bad request - validation failed object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

404 Contact not found object
error string required

Error message

500 Internal server error object
error string required

Error message