v50

latestOpenAPI 3.1.0raw.githubusercontent.com2024-10-175745153.1 KB
room

Update a room user

Update properties for a user.

put/room/{id}/user/{userId}

Path parameters

idstring required
userIdstring required

Request body

canPublishboolean required

Whether a user is allowed to publish audio/video tracks (i.e. their microphone and webcam)

canPublishDataboolean

Whether a user is allowed to publish data messages to the room

metadatastring

User defined payload to store for the participant

Example request

{
  "canPublish": true,
  "canPublishData": true
}

Response

Success