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

NameValue TypeValidationDetails
crIDintRequiredRoom ID.
crIsModeratedintRequiredSet the status room. 1 = is moderater / 0 = not moderate.

Output example

{
"result": "true"
}