For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete an inbox

Permanently delete an inbox and all its received messages.

delete
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
folder_idintegerRequired

Inbound folder ID

Example: 1
inbox_idintegerRequired

Inbound inbox ID

Example: 1
Responses
204

Inbox deleted

No content

delete/api/inbound/folders/{folder_id}/inboxes/{inbox_id}
curl -X DELETE https://mailtrap.io/api/inbound/folders/{folder_id}/inboxes/{inbox_id} \
  -H 'Authorization: Bearer YOUR_API_KEY'

No content

Last updated

Was this helpful?