cURL
curl --request POST \ --url https://{notifuseDomain}/api/contacts.delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspace_id": "ws_1234567890", "email": "user@example.com" } '
200
Example
{ "success": true }
Deletes a contact from the workspace by email address. This action is permanent and cannot be undone.
API token for authentication
The ID of the workspace
"ws_1234567890"
Email address of the contact to delete
"user@example.com"
Contact deleted successfully
Whether the deletion was successful
true