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

info

The auth query parameter is your private key. You can find it in your Dashboard under Developer -> Private Key.

Delete ChannelDescription
Path Parameters
channelIdstringid of the channel
roomIdstringroomId where the channel is present
Query Parameters
authstringGo to Dashboard -> Developer -> Private Key is your auth

Responses

200

JSON

{
"message": "Channel deleted successfully"
}

400

JSON

{
"message": "channel not found"
}

401

JSON

{
"message": "Invalid auth token"
}