Delete Thread
delete_agentmail_inbox_threadPermanently deletes a thread and every message in it. Returns no body. This cannot be undone and it removes more than one message — Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, so read the thread with get_agentmail_inbox_thread first. To hide it instead, relabel with patch_agentmail_inbox_thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | The ID of the inbox. | |
| permanent | No | If true, permanently delete the thread instead of moving to trash. | |
| thread_id | Yes | ID of thread. | |
| Authorization | Yes | Bearer authentication |