Path parameters
-
The SID of the Room resource to update.
POST /v1/Rooms/{Sid}
curl \
-X POST https://video.twilio.com/v1/Rooms/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Status=in-progress'
Request example
{
"Status": "in-progress"
}
Request examples
{
"Status": "in-progress"
}
Response examples (200)
{
"account_sid": "string",
"audio_only": true,
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"duration": 42,
"empty_room_timeout": 42,
"enable_turn": true,
"end_time": "2023-05-04T09:42:00+00:00",
"large_room": true,
"links": {},
"max_concurrent_published_tracks": 42,
"max_participant_duration": 42,
"max_participants": 42,
"media_region": "string",
"record_participants_on_connect": true,
"sid": "string",
"status": "in-progress",
"status_callback": "https://example.com",
"status_callback_method": "HEAD",
"type": "go",
"unique_name": "string",
"unused_room_timeout": 42,
"url": "https://example.com",
"video_codecs": [
"VP8"
]
}
Response examples (200)
{
"account_sid": "string",
"audio_only": true,
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"duration": 42,
"empty_room_timeout": 42,
"enable_turn": true,
"end_time": "2024-05-04T09:42:00+00:00",
"large_room": true,
"links": {},
"max_concurrent_published_tracks": 42,
"max_participant_duration": 42,
"max_participants": 42,
"media_region": "string",
"record_participants_on_connect": true,
"sid": "string",
"status": "in-progress",
"status_callback": "https://example.com",
"status_callback_method": "HEAD",
"type": "go",
"unique_name": "string",
"unused_room_timeout": 42,
"url": "https://example.com",
"video_codecs": [
"VP8"
]
}