DELETE
/
api
/
messaging
/
central-channels
/
{channelId}
/
messages
/
all
Delete all channel messages by user
curl --request DELETE \
  --url http://localhost:3000/api/messaging/central-channels/{channelId}/messages/all
{
  "success": true,
  "deletedCount": 123
}

Path Parameters

channelId
string
required

Query Parameters

userId
string
required

Response

200
application/json

Messages deleted successfully

The response is of type object.