> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Delete thread

DELETE https://api.getzep.com/api/v2/threads/{threadId}

Deletes a thread.

Reference: https://docs-beta.getzep.com/sdk-reference/thread/delete-thread

## Request

### Path parameters

- `threadId` (string, required) — The ID of the thread for which memory should be deleted.

## Response

### 200

OK

- `message` (string, optional)

## Errors

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "message": "Thread successfully deleted."
}
```