curl --request DELETE \
--url http://localhost:3000/api/messaging/central-channels/{channelId}/messages
{
"success": true,
"deleted": 123
}
Delete all messages in a channel
curl --request DELETE \
--url http://localhost:3000/api/messaging/central-channels/{channelId}/messages
{
"success": true,
"deleted": 123
}
Messages deleted successfully
The response is of type object
.
Was this page helpful?