Delete Chat

Deletes a specific chat based on the provided chatId. This operation is irreversible and permanently removes the chat and its contents.

DELETE /chats/{chatId}
import { v0 } from 'v0-sdk'

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

console.log(result)

Parameters

Path Parameters

chatId string Required

The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.


Response

Response Body

id string Required


object string Required


deleted boolean Required