Delete a contact
Deletes the contact with its memberships, topic choices, consent log and activity. An unsubscribed address added again comes back unsubscribed.
Deletes the contact with its memberships, topic choices, consent log and activity. An unsubscribed address added again comes back unsubscribed.
bearerAuthorizationBearer <token>id*stringThe contact's id or email address
Success
application/json- response
The answer to a contact's DELETE (Resend names the id contact).
contact*stringuuiddeleted*booleanobject*stringcurl -X DELETE 'https://api.exx.sh/contacts/string'{ "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4", "deleted": true, "object": "string"}Update a contact PATCH
Previous Page
Erase a contact (GDPR) POST
An exx extension (ADR-0051). Unlike a delete, an erase forgets the person: the contact is hidden at once and removed with its memberships, topic choices, consent log and activity within `retention.toml [global] contact_erasure` (24 hours), leaving only a keyed hash of the address so an import never adds it again. Sends `contact.deleted`. Adding the address with `POST /contacts` later (the person signed up again) is accepted.