Skip to main content

Delete a Chat Room


https://api.deadsimplechat.com/consumer/api/v1/chatroom/:roomId

Delete A Chat Room

Delete the chat room. The Chat room will be deleted, along with all the messages, channels, channel messages, private messages, and files. This operation is destructive and once the chat room is deleted the cannot be recovered.

info

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

Parameters
Path
roomIdstringroomId of the chat room you want to delete
Query
authstringGo to Dashboard -> Developer -> Private Key is the auth

Responses

200

JSON

{
"success": true,
"roomId": "oGmvOBVHp"
}

404

JSON

{
"message": "invalid chatroom id"
}