mail

DELETE /v1/mail/mailboxes/{mailboxId}

Delete a mailbox.

Alle mail-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. De sleutel moet over de permissie mail.manage beschikken; een sleutel zonder deze permissie wordt geweigerd met een 403 in plaats van een 404.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X DELETE https://api.zinndigital.com/v1/mail/mailboxes/{mailboxId} \
  -H "Authorization: Bearer zdk_live_…"

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

Deletes the mailbox at the backend and then locally, in that order — a local row removed first would leave a mailbox still receiving mail that nothing knows about. Requires `mail.manage`. ⛔ Refused with **422** for a mailbox carrying `system_managed: true` — the address we created with the site, which the site's own outbound mail and contact form are configured against. Every other mailbox on every product line is the customer's to remove (owner ruling 2026-08-16).

Parameters

NaamTypeVerplichtWat dit is
mailboxId (path)UuidJaMailbox ID (UUIDv7).

Fouten die dit eindpunt kan retourneren

401 · 403 · 404 · 422 · 429 · 503