PUT ./chat/room
Switch ON/OFF the room moderation status and publish into RabbitMq event with type "chat.room.moderated", containing crID and crIsModerated keys.
Only the owner or user with moderator role can change this.
Permission only with school config keys: grpEnabled
PUT parameters
Name | Value Type | Validation | Details |
---|---|---|---|
crID | int | Required | Room ID. |
crIsModerated | int | Required | Set the status room. 1 = is moderater / 0 = not moderate. |
Output example
{"result": "true"}