Contacts

Erase a contact (GDPR)

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.

POST
/contacts/{id}/erase

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.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string

The contact's id or email address

Response Body

Success

application/json
  1. response

The answer to an erase.

erasing*boolean

Always true: the contact is hidden now and removed within retention.toml [global] contact_erasure.

id*string
Formatuuid
object*string
Example Request
curl -X POST 'https://api.exx.sh/contacts/string/erase'
Example Response
{  "erasing": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}