Delete a thread
cooper_delete_threadUse this when a whole conversation should be removed. Requires auth. Deletes every message in the thread, plus attachment bytes and search rows. Owner tasks and updates are left in place. Inputs: inbox_id (required; inbox id, username, or email), thread_id (required). Returns {id, deleted:true, messages_deleted}. An unknown thread returns HTTP 404 thread_not_found. Another account's inbox returns inbox_not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | Inbox id (inb_…), username, or full email address owned by this key | |
| thread_id | Yes | Thread id (thr_…) to delete |