---
title: "Delete a message"
method: POST
path: "/conversation/{conversationId}/message/{messageId}/delete"
tags: ["Conversation Message"]
---

# Delete a message

`POST /conversation/{conversationId}/message/{messageId}/delete`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/conversation/{conversationId}/message/{messageId}/delete`
- Auth: HTTP bearer

## Path parameters

- `conversationId` string, required: The ID of the conversation containing the message
- `messageId` string, required: The ID of the message to delete

## Request body

- object

## Response `200`

The message was deleted successfully

- object
  - `id` string, required: The ID of the deleted message

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
