openvidu-meet/meet-ce/backend/openapi/components/requestBodies/update-room-member-request.yaml
juancarmore 450aa85b88 Revert "Revert commits 6c7bfd4 5638025 da7759d ba374ce cf84de4 39a9b7d e990c19"
This reverts commit 0ab6a48e13ec15267de4373f2647745cc184bb87.
2026-01-07 10:13:08 +01:00

34 lines
1.6 KiB
YAML

description: Room member update options
required: true
content:
application/json:
schema:
type: object
properties:
baseRole:
type: string
enum:
- moderator
- speaker
example: 'speaker'
description: |
The base role that defines the default permissions for this member. Options are:
- moderator: By default, has full permissions to manage the room and meeting.
- speaker: By default, has permissions to publish audio and video streams.
Individual permissions can be overridden through the 'customPermissions' object.
customPermissions:
type: object
additionalProperties:
type: boolean
example:
canShareScreen: false
canRecord: true
description: |
An optional object containing custom permission overrides for the base role.
Only include the permissions you want to override from the base role defaults.
Each property should be a permission name (e.g., 'canRecord', 'canShareScreen') with a boolean value.
For the complete list of all available permissions, see the full permissions schema:
[MeetPermissions](#/schemas/MeetPermissions)