Skip to main content

Update Meeting Room

This request updates a meeting room, targeted by secure ID.

patch/meeting_rooms/{meeting_room_sid}
put/meeting_rooms/{meeting_room_sid}

Sample Request

This is a sample PATCH request that updates the Meeting Room object, targeted by secure ID, with the values in the request body:

curl -X PATCH \
'https://api.carrierx.com/conference/v2/meeting_rooms/2652635f-10a6-4b2a-a46b-2eeb75ddeab6' \
-H 'Content-Type: application/json' \
--data-binary '{"name":"Updated meeting room"}' \
-u 'conference_user_123:qwerty123'

Sample Response

200 response code with a serialized copy of the updated Meeting Room object:

{
"access_codes": [
{
"access_code": "890671",
"role": "host"
},
{
"access_code": "265423",
"role": "listener"
},
{
"access_code": "143623",
"role": "participant"
}
],
"account_sid": "a1f38bf7-5879-49c1-be72-50ffa7f249a6",
"properties": {},
"did_group_sid": null,
"meeting_room_sid": "2652635f-10a6-4b2a-a46b-2eeb75ddeab6",
"name": "Updated meeting room"
}

A Meeting Room object can be updated using either a PATCH or PUT request.

  • A PATCH request can be used to update one or more property values. When using a PATCH request, only the properties specified in the request payload will be updated, all other properties and values will remain the same. The meeting room secure ID is passed in the query URL, and the values to be modified are passed in the request body.

  • A PUT request can be used to update an entire Meeting Room object. The meeting room secure ID is passed in the query URL, and the entire Meeting Room object is passed in the request body.

note

Note, while all fields must be present in a PUT request, not all properties values may be modified after initial creation.

Path Arguments

ParameterData TypeDescription
meeting_room_sid
required
stringThe meeting room secure ID.

Body Arguments

JSON representation of the fields and values to be updated.

Fields that can be modified are:

  • access_codes
  • properties
  • did_group_sid
  • name

Refer to this table to view all fields that appear in the Meeting Room object.