Base URL
https://app.dmu.email/api/v1
Authentication
Bearer dmk_… API key
Rate limit
120 requests a minute per key

Delete a contact

DELETE/contacts/{id}

Deletes a contact. Conversations with them stay as they are.

Needs the permissioncontacts:write

Path parameters

idstringrequired
The contact.

Returns

Nothing: a successful delete is 204 No Content.

Errors

401invalid_key
The key is wrong, expired or revoked. With no Authorization header at all, the code is missing_credentials.
403missing_scope
The key doesn’t have contacts:write. The X-Required-Scope header names what’s missing.
404not_found
There’s no such contact, or it’s personal and the key doesn’t include personal contacts.
429rate_limited
More than 120 requests a minute from this key. Wait for Retry-After seconds.
curl https://app.dmu.email/api/v1/contacts/3d7a51c2 \
  -X DELETE \
  -H "Authorization: Bearer dmk_7f3a9c2e1b4d_Xq8v…"

Response

204 No Content

No body.

A 204 has no body, so there’s no data to unwrap.