Delete Channel
https://api.deadsimplechat.com/consumer/api/v1/chatroom/:roomId/channel/:channelId
Delete Channel
Endpoint to delete the channel and all the messages inside of the channel. If you just want to hide the channel from the chatroom, check the Update Channel
API Call and set the enabled to false
Delete Channel | Description | |
---|---|---|
Parameteres | ||
Path | ||
channelId | string | id of the channel |
roomId | string | roomId where the channel is present |
auth | string | auth token of the chat room |
Responses
200
JSON
{
"message": "Channel deleted successfully"
}
400
JSON
{
"message": "channel not found"
}
401
JSON
{
"message": "Invalid auth token"
}