Skip to navigation

Delete Inbox

Deletion is asynchronous. A 202 means it has started. While it runs, requests for this inbox return 409 resource_deleting. Poll GET /v0/inboxes/{inbox_id} until it returns 404, then the address is free. If the inbox still has its own API keys, delete returns 409 cannot_delete: revoke those keys first.

CLI:

agentmail inboxes delete --inbox-id <inbox_id>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

inbox_idstringRequired
The ID of the inbox.

Response

Deletion started. The inbox is removed in the background.

Errors

404
Not Found Error
409
Conflict Error