Skip to content

Delete contact

DELETE
/contacts/{contactId}
curl --request DELETE \
--url https://api.unwrap.email/v1/contacts/example \
--header 'UNWRAP-EMAIL-API-TOKEN: <UNWRAP-EMAIL-API-TOKEN>'

Delete a contact for the authenticated user

contactId
required

Contact identifier

string
/^(?:[0-9a-f]{32}|[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$/i/

Contact identifier

Contact deleted successfully

Media type application/json
object
id
required

Deleted contact identifier

string
Example generated
{
"id": "example"
}