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_idintegerRequiredExample:
Inbound inbox ID
1idstringRequiredExample:
Inbound thread ID
1700000000000123Responses
204
Thread deleted
No content
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
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?

