API ReferenceContacts
Permanently erase one contact and every event about them, and block the address from being mailed again (GDPR erasure)
POST
Permanently erase one contact and every event about them, and block the address from being mailed again (GDPR erasure). This cannot be undone.
Requires the contacts:write scope — Create, update, and delete your contacts.
header
AuthorizationBearer <API Key>API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.
id*stringOK
application/json- response
[key: string]?unknowncurl -X POST 'https://api.sendly.now/api/contacts/string/purge'Example Response
{ "property1": null, "property2": null}