---
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

## Changes

> 34 revisions in range; 5 could not be searched.

- **2026-07-30** `da68370a2aea` — 8 breaking, 12 info
  - for the `path` request parameter `chatId`, the minLength was increased from `0` to `1`
  - removed the required property `deleted` from the response with the `200` status
  - removed the required property `error` from the response with the `401` status
  - removed the required property `error` from the response with the `403` status
  - …16 more

[Change history](https://skmtc.dev/vercel/apis/v0-platform-api-beta/changes/chats/:chatId/delete.md)

---

[API](https://skmtc.dev/vercel/apis/v0-platform-api-beta.md) · [All operations](https://skmtc.dev/vercel/apis/v0-platform-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/v0-platform-api-beta/revisions/3cf5debd6cf4/schema)
