inboxes > threads
Delete Thread
Changed onPermanently deletes a thread and all of its messages.
CLI:
agentmail inboxes threads delete --inbox-id <inbox_id> --thread-id <thread_id>
delete/v0/inboxes/{inbox_id}/threads/{thread_id}
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/inboxes/{inbox_id}/threads/{thread_id}
- AuthHTTP bearer
Path parameters
inbox_idstring required
The ID of the inbox.
thread_idstring required
ID of thread.
Response
Successful response
Changes
- breaking
removed the success response with the status
- info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
inboxes > threadsadded - info
api tag
InboxesThreadsremoved - info
added the success response with the status
- breaking
- warning
deleted the
queryrequest parameterpermanent - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning