Add Room Leader
Set a user as room leader.
Name | Requires Auth | Permission | Setting |
| Yes |
|
Payload Parameters
Argument | Example | Required | Description |
|
| Required | The room id |
userId |
| Required | The id of the user to be set as room leader. |
Example Call
Example Response
Success
Errors
User not in the room: This occurs when the
userId
doesn't belong to any user in the room.Invalid User: This occurs when the
userId
doesn't belong to any user in the workspace.User is already a Leader: This occurs when user is already a leader in that room.
No Permission: This occurs when the authenticated user does not have the
set-leader
permission.
Last updated