Skip to main content

deleteProjectChat()

deleteProjectChat(projectId: string, chatId: string): Promise<void>

Defined in: packages/core/src/index.ts:2241

Delete a chat from a project

Parameters

ParameterTypeDescription
projectIdstringThe unique identifier of the project
chatIdstringThe 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");