Memorys
Delete Memory
Delete memory
post
/v1/memory/{memoryId}/delete
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
memoryIdstring* Required
The ID of the memory to delete
Request Body * Required
Request Body Schema: application/json
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.memory.delete(
memoryId,{})
{"id":"string"}The memory was deleted successfully