Skip to content

Anonymize a contact (GDPR erasure, irreversible)

POST
/contacts/{id}/anonymize
curl --request POST \
--url https://app.surveyrock.com/api/v1/contacts/example/anonymize \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: example'
id
required
string
Idempotency-Key
required
string
>= 1 characters <= 128 characters

1 to 128 characters, chosen by the caller. A retry with the same key and body replays the first response instead of applying the write twice; the same key with a different body is a 409

Contact anonymized

Contact not found

Confirmation required (high-stakes action)