Update Peer
POST {{HOST}}/v2/active-rooms/:room_id/peers/:peer_id
You can use this API to update the details of a connected peer, such as name, role, and metadata (custom/additional information to build real-time interactivity scenarios).Arguments
Name
Type
Description
Required
room_id
— path paramstring
Unique identifier of the room where the peer is active.
Example: 627cda81ab4f3b56a077dc33Yes
peer_id
— path paramstring
Unique identifier of the peer/participant for which you wish to update details.
Example: 1038fa72-9345-4651-beab-436f9242ebf4Yes
name
— body paramstring
The name of the peer used in the active session.
No
role
— body paramstring
You can use this to update the role type of the peer. For example, to take the peer to a breakout room.
No
metadata
— body paramobject
You can use a stringified JSON to update various custom/additional information to a peer such as businessuserid, raisehand/lowerhand info, and more
No
Why would you use this API?
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status
ENDPOINTS