Remove a specific livechat message.
HTTP Method | URL | Requires Auth |
---|---|---|
DELETE | /api/v1/livechat/message/:_id | no |
Key | Example Value | Description |
---|---|---|
_id * | ZKWP8LfGnRHQ3ozWa | The message ID. |
Key | Example Value | Description |
---|---|---|
token * | 54fc5544030b | The visitor token. |
rid * | hGFwSKA28nRKut3pD | The room ID. |
{% code overflow="wrap" %}
curl --location --request DELETE 'http://localhost:3000/api/v1/livechat/message/mz6TKjsvZiausYjev' \
--header 'Content-Type: application/json' \
--data '{
"token": "54fc5544030bcecda053311cb6b989",
"rid": "hGFwSKA28nRKut3pD"
}'
{% endcode %}
{
"message": {
"_id": "ZKWP8LfGnRHQ3ozWa",
"ls": "2018-09-14T13:31:33.279Z"
},
"success": true
}