---
title: "Delete Thread"
method: DELETE
path: "/v0/inboxes/{inbox_id}/threads/{thread_id}"
tags: ["InboxesThreads"]
---

# Delete Thread

`DELETE /v0/inboxes/{inbox_id}/threads/{thread_id}`

Permanently deletes a thread and all of its messages.

**CLI:**
```bash
agentmail inboxes:threads delete --inbox-id <inbox_id> --thread-id <thread_id>
```

## Path parameters

- `inbox_id` string, required — The ID of the inbox.
- `thread_id` string, required — ID of thread.

## Response `204`

## Other responses

- `404`

---

[API](https://skmtc.net/agentmail-to/apis/api.md) · [All operations](https://skmtc.net/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
