---
title: "Delete A Chat Room Message"
method: POST
path: "/{id}/delete-chat-message/"
---

# Delete A Chat Room Message

`POST /{id}/delete-chat-message/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/chat-rooms`
- URL: `https://cf-blast.livelikecdn.com/api/v1/chat-rooms/{id}/delete-chat-message/`
- Auth: none required

## Path parameters

- `id` string, required

## Request body

- object
  - `message_id` string, required: Chat Message ID
  - `pubnub_timetoken` integer: If a PubNub Time Token is also provided then the message will be deleted from room history in addition to a `message-deleted` event being published.

## Response `204`

204

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/livelike/apis/chat-rooms.md) - [All operations](https://skmtc.dev/livelike/apis/chat-rooms/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/chat-rooms/revisions/a637fa5c92a5?raw)
