Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Der Schlüssel muss über die Berechtigung mail.manage verfügen; ein Schlüssel ohne diese wird mit 403 statt 404 abgelehnt.
Dieser Endpunkt erfordert keine Organisations-ID. Ihr Schlüssel identifiziert bereits die zugehörige Organisation, und die Antwort ist entsprechend eingeschränkt.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X DELETE https://api.zinndigital.com/v1/mail/mailboxes/{mailboxId} \
-H "Authorization: Bearer zdk_live_…"Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
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).
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
mailboxId (path) | Uuid | Ja | Mailbox ID (UUIDv7). |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 404 · 422 · 429 · 503