Update a room
Update a room
Path Parameters |
---|
slug string — REQUIREDThe slug of the room |
Request Body — REQUIRED |
---|
name stringThe name of the room |
description The description of the room |
iconURL The URL of the room's icon |
isPublic booleanWhether the room is public or not. Defaults to false |
studentsWhitelist undefined[]The list of students allowed to join the room. Effective only if isPublic is false. Accepts both UIDs and logins. Defaults to an empty array |
studentsBlacklist undefined[]The list of students not allowed to join the room. Effective only if isPublic is true. Accepts both UIDs and logins. Defaults to an empty array |
Responses | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 Successful response
| ||||||||||||||
401 Unauthorized
| ||||||||||||||
403 Forbidden
| ||||||||||||||
429 Too Many Requests
| ||||||||||||||
500 Internal Server Error
|