---
title: Delete Chat
description: Deletes a chat and all its associated messages. The requester must have edit access to the chat.
docs_index: /docs/llms.txt
lastUpdated: 2026-11-23
badge: "DEL"
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

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

#### `DELETE /v2/chats/{chatId}`

## Usage

```typescript
import { v0 } from 'v0'

const result = await v0.chats.delete({
  chatId: 'chat_abc123',
})

console.log(result)
```

```bash
curl -X DELETE "https://api.v0.dev/v2/chats/chat_abc123"   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

## API Signature

### Request

#### Path Parameters

- `chatId: string` The unique identifier of the chat.
  - **Minimum length:** 1

### Response

- `chatId: string` The ID of the deleted chat.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)