---
title: "Delete chat"
method: DELETE
path: "/api/chats/{chatId}"
tags: ["Chat"]
---

# Delete chat

`DELETE /api/chats/{chatId}`

## Request

- Base URL: `https://app.cotool.ai`
- URL: `https://app.cotool.ai/api/chats/{chatId}`
- Auth: HTTP bearer

Delete a chat conversation by its unique identifier.

## Path parameters

- `chatId` string, uuid, required

## Response `200`

Successful response - no content

## Other responses

- `400`: Bad request — input validation failed or the request was malformed
- `401`: Unauthorized — missing or invalid API key / session
- `403`: Forbidden — the authenticated user lacks the required permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/cotool/apis/cotool-api.md) - [All operations](https://skmtc.dev/cotool/apis/cotool-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cotool/apis/cotool-api/revisions/f5abe0add203?raw)
