Links

Delete Livechat Message

Remove a specific livechat message.
HTTP Method
URL
Requires Auth
DELETE
/api/v1/livechat/message/:_id
no

Path Variables

Key
Example Value
Description
_id*
ZKWP8LfGnRHQ3ozWa
The message ID.

Body

Key
Example Value
Description
token*
54fc5544030b
The visitor token.
rid*
hGFwSKA28nRKut3pD
The room ID.

Example Call

curl --location --request DELETE 'http://localhost:3000/api/v1/livechat/message/mz6TKjsvZiausYjev' \
--header 'Content-Type: application/json' \
--data '{
"token": "54fc5544030bcecda053311cb6b989",
"rid": "hGFwSKA28nRKut3pD"
}'

Example Response

{
"message": {
"_id": "ZKWP8LfGnRHQ3ozWa",
"ls": "2018-09-14T13:31:33.279Z"
},
"success": true
}
Last modified 25d ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.