deleteProjectChat()
deleteProjectChat(
projectId:string,chatId:string):Promise<void>
Defined in: packages/core/src/index.ts:2241
Delete a chat from a project
Parameters
| Parameter | Type | Description |
|---|---|---|
projectId | string | The unique identifier of the project |
chatId | string | The unique identifier of the chat to delete |
Returns
Promise<void>
void
Throws
401 - Not authenticated
Throws
404 - Project or chat not found
Example
import { deleteProjectChat } from "@cpod/sdk";
await deleteProjectChat("project-123", "chat-456");