message
delete message by id
delete a message by id
post/instances/{id}/client/action/delete-message-by-id
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/delete-message-by-id
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"messageId": "<bool>_<xxxxx>@c.us>_<megssageHash>",
"forEveryone": true
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation.
Example response
{
"data": {
"status": "success",
"data": {
"messageId": "true_123456789@c.us_123abc456def890",
"deleted": true
}
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/delete-message-by-id"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.