Skip to main content

Eject All


https://api.deadsimplechat.com/api/v1/chatRoom/:roomId/eject-all

Eject All

This endpoint ejects all the users in the chat room.

info

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

Turn Off Chatdescription
Parameters
roomIdstringroomID of the chatRoom
Query
authstringGo to Dashboard -> Developer -> Private Key is your auth

Responses

200

JSON

{
success: true
}

400

JSON
{
"message": "invalid accessToken"
}