---
title: "Delete a chat session"
method: DELETE
path: "/chat/sessions/{session_id}"
tags: ["chat"]
---

# Delete a chat session

`DELETE /chat/sessions/{session_id}`

## Path parameters

- `session_id` string, required

## Response `200`

Chat session deleted successfully

- DeleteResponse — Success response for delete operations
  - `message` string, required
  - `success` boolean, required

## Other responses

- `400` — Invalid session ID format
- `403` — Forbidden - user does not have write access to chat session
- `404` — Chat session not found
- `500` — Internal server error

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
