sendsend.email

Delete a contact

DELETE/v1/audiences/{id}/contacts/{contact}

Removes the contact from the audience.

Required scope: contacts:manage

Parameters

NameInDescription
idrequiredpathThe audience id.
contactrequiredpathThe contact id or email address.

Example

curl -X DELETE 'https://api.sendsend.email/v1/audiences/ID/contacts/{contact}' \
  -H "Authorization: Bearer $SENDSEND_API_KEY"

Response 200

{
  "object": "contact",
  "id": "xxx_…",
  "deleted": true
}

Errors

StatusCodeWhen
404not_foundNo such resource in this project.
401unauthorizedThe API key is missing, invalid or revoked.
403forbiddenThe key does not have the scope this endpoint needs.

Every error has the same shape. See Errors.