אימות
שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה mail.manage; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X DELETE https://api.zinndigital.com/v1/mail/mailboxes/{mailboxId} \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
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).
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
mailboxId (path) | Uuid | כן | Mailbox ID (UUIDv7). |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 404 · 422 · 429 · 503