contact-relations

Remove related contacts (v2)

Unlink one or more related contacts from {contactId}. The contacts themselves are NOT deleted — only the relation rows are removed (both stored directions, so legacy double-stored pairs are fully cleared). Requires Idempotency-Key. Returns { data: { affected, ids } }.

post/v2/contact-relations/{contactId}/remove

Path parameters

contactIdstring uuid required

Headers

Idempotency-Keystring required
Example:01HV8N6X7K3P9Q5R2T4Y6W8Z0A

Required. UUID per logical operation, reused on every retry. See apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.

Request body

contactIdsstring[] required

Response

Successful response

Changes

Changed in 2 of the 18 revisions of this API.2