Set a member role
PUT/api/rooms/:roomId/members/:identity
Sets a person's role in the room to moderator, participant or attendee and returns the updated member with its permissions. The person does not have to be a member yet; they become one with that role. If they are connected, their LiveKit permissions and metadata are updated right away, and moving them to a role that cannot publish (attendee) also mutes their microphone. LiveKit update failures are logged but do not fail the call. The host and moderators may call it, but only the host can make someone a moderator or change a moderator's role.
The room creator's host role cannot be changed (400).
Request
Responses
- 200
- 400
- 401
- 403
- 404
Updated member.
Request failed.
Request failed.
Request failed.
Request failed.