Gallery Platform API
Reference

Delete a contact

Soft-deletes a contact: it disappears from the roster (its history is retained), and the gallery owner can undo the deletion for 15 minutes.

DELETE
/gallery/contacts/{id}

Soft-deletes a contact: it disappears from the roster (its history is retained), and the gallery owner can undo the deletion for 15 minutes.

Authorization

bearerAuth contacts:delete
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: contacts:delete

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "deleted": true}