v34

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-21119235265.2 KB
InboxesThreads

Delete Thread

Permanently 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}

Path parameters

inbox_idstring required

The ID of the inbox.

thread_idstring required

ID of thread.