> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doctly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Session

> Delete a chat session and its messages.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.doctly.ai/api/v1/chat/sessions/{session_id} \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

**DELETE** `/api/v1/chat/sessions/{session_id}`

## Path Parameters

<ParamField path="session_id" type="string" required>
  The session ID.
</ParamField>

## Response

```json Response theme={null}
{ "id": "b31c9a52-4a86-4dd7-9f2e-1c2d3e4f5a6b", "deleted": true }
```
