Skip to content

Bulk delete contacts

POST
/contacts/bulk-delete
curl --request POST \
--url https://app.surveyrock.com/api/v1/contacts/bulk-delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: example' \
--data '{ "ids": [ "example" ] }'
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

Media typeapplication/json
object
ids
required
Array<string>
Examplegenerated
{
"ids": [
"example"
]
}

Bulk delete result with counts