Edit

To edit an existing room you need to execute a PATCH request against the /rooms/:id endpoint.

The id uniquely identifies the room and you can find it in the create room response.

You can update as many fields as you wish - the below example makes the toolbar color blue and also removes chat functionality from the room.

Request

curl --request PATCH \
  --header "Content-Type: application/json" \
  --url https://api.digitalsamba.com/api/v1/rooms/c39d7c40-7ff7-4faa-b06f-698a639a9523 \
  --user YOUR_TEAM_ID:YOUR_DEVELOPER_KEY \
  --data '{"toolbar_color": "#0000ff", "chat_enabled": false}'

Response (200 OK)

{
  "id": "c39d7c40-7ff7-4faa-b06f-698a639a9523",
  "friendly_url": "l5zIyafmlEFMPKA",
  "privacy": "public",
  "toolbar_color": "#0000ff",
  "chat_enabled": false
  ....................
}

Last updated