Delete Chat
Deletes a specific chat based on the provided chatId. This operation is irreversible and permanently removes the chat and its contents.
DELETE/v1/chats/{chatId}
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.chats.delete({chatId: '123',})console.log(result)API Signature
Request
Path Parameters
chatId: string
The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.
Response
id: string
object: 'chat'
deleted: 'true'