Delete an inbox
DELETE
https://myagentmail.com/v1/inboxes/{id}For agents View as Markdown
Soft-deletes the inbox, hard-deletes its alias rows, and removes the Stalwart principal. Prior threads and messages are preserved but hidden from listings.
Path parameters
idrequired string | Inbox UUID |
Responses
200application/jsonDeleted
deletedboolean | |
idstring | format: uuid |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.