Skip to main content

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 ChannelDescription
Parameteres
Path
channelIdstringid of the channel
roomIdstringroomId where the channel is present
authstringauth token of the chat room

Responses

200

JSON

{
"message": "Channel deleted successfully"
}

400

JSON

{
"message": "channel not found"
}

401

JSON

{
"message": "Invalid auth token"
}