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

Delete a thread

Delete a thread. Inbound messages in the thread are removed; sent messages are preserved.

delete
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
inbox_idintegerRequired

Inbound inbox ID

Example: 1
idstringRequired

Inbound thread ID

Example: 1700000000000123
Responses
204

Thread deleted

No content

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

No content

Last updated

Was this helpful?