Skip to main content

Turn Off Chat


https://api.deadsimplechat.com/consumer/api/v1/chatRoom/:roomId/on

Turn Off Chat

This endpoint lets you turn off chat room. The chat room will be dynamically turned-off without needing the users to refresh the page, and a "Chat Off Message" will be displayed.

Turn Off Chatdescription
Parameters
roomIdstringroomID of the chatRoom
Query
authstringYour account private key

Responses

200

JSON

{
success: true
}

400

JSON
{
"message": "invalid accessToken"
}