---
title: "Delete a thread"
method: DELETE
path: "/api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}"
tags: ["Threads"]
---

# Delete a thread

`DELETE /api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}`

Delete a thread. Deletes or detaches the target resource and returns the action status.

## Response `200`

Thread deleted

- MessageResponse — Generic action result message used by endpoints that do not return a dedicated resource.
  - `message` string — Human-readable status or error message.
  - `status` string — Current status value.
  - `success` boolean — Whether the requested action succeeded.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
