/api/v1/chat/sessions/{session_id}
Path Parameters
string
required
The session ID.
Response
Response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://api.doctly.ai/api/v1/chat/sessions/{session_id} \
-H "Authorization: Bearer YOUR_API_KEY"
Delete a chat session and its messages.
curl -X DELETE https://api.doctly.ai/api/v1/chat/sessions/{session_id} \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.doctly.ai/api/v1/chat/sessions/{session_id} \
-H "Authorization: Bearer YOUR_API_KEY"
/api/v1/chat/sessions/{session_id}
{ "id": "b31c9a52-4a86-4dd7-9f2e-1c2d3e4f5a6b", "deleted": true }
