Rooms
Update a room
Changed onPartially updates a room. Only the delegated user's rooms where they are administrator or owner can be updated; any other role gets a 403.
Updatable fields: access_level and configuration. Every other field (id, name, slug, pin_code) is read-only and silently ignored when sent.
configuration is replaced as a whole, it is not merged with the stored one. Send the complete object you want the room to end up with.
Full replacement (PUT) is not supported. Use PATCH instead.
patch/rooms/{id}
Request
- Base URLhttps://visio-sandbox.beta.numerique.gouv.fr/external-api/v1.0
- AuthHTTP bearer
Path parameters
idstring uuid required
Room UUID
Request body
Example request
{
"access_level": "trusted",
"configuration": {
"can_publish_sources": [
"camera",
"microphone"
],
"everyone_can_mute": true
}
}Response
Room updated successfully
Example response
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"slug": "aze-eere-zer",
"access_level": "trusted",
"url": "https://visio-sandbox.beta.numerique.gouv.fr/aze-eere-zer",
"telephony": {
"enabled": true,
"pin_code": "123456",
"phone_number": "+1-555-0100",
"default_country": "US"
},
"configuration": {
"can_publish_sources": [
"camera",
"microphone"
],
"everyone_can_mute": true
}
}Changes
- info
endpoint added
- info