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

# Delete Chat

`DELETE /chats/{chatId}`

Deletes a chat and all its associated messages. The requester must have edit access to the chat.

## Path parameters

- `chatId` string, required — The unique identifier of the chat.

## Response `200`

Response for status 200

- object
  - `chatId` string, required — The ID of the deleted chat.

## Other responses

- `401` — Response for status 401
- `403` — Response for status 403
- `404` — Response for status 404
- `422` — Response for status 422
- `500` — Response for status 500

---

[API](https://skmtc.net/vercel/apis/v0-platform-api-beta.md) · [All operations](https://skmtc.net/vercel/apis/v0-platform-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/v0-platform-api-beta/versions/7c7a496f8022/schema)
