Delete
/api/v1/livechat/message/{_id}
Remove a specific livechat message.
Path parameters
_id
stringRequired
The message ID that you want to update.
ExampleZKWP8LfGnRHQ3ozWa
Body parameters
Example 1
{
"token": "54fc5544030bcecda053311cb6b989",
"rid": "hGFwSKA28nRKut3pD"
}
object
token
string Required
The visitor token.
rid
string Required
The room ID.
Responses
200
Success Example
{
"message": {
"_id": "ZKWP8LfGnRHQ3ozWa",
"ls": "2018-09-14T13:31:33.279Z"
},
"success": true
}
object
message
object
_id
string
ls
string
success
boolean
400
Bad Request
Example 1
{
"success": false,
"error": "must have required property 'token' [invalid-params]",
"errorType": "invalid-params"
}
object
success
boolean
error
string
errorType
string