Path parameters
-
The SID of the room with the participant to update.
-
The SID of the RoomParticipant resource to update.
POST /v1/Rooms/{RoomSid}/Participants/{Sid}
curl \
-X POST https://video.twilio.com/v1/Rooms/{RoomSid}/Participants/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Status=connected'
Request example
{
"Status": "connected"
}
Request examples
{
"Status": "connected"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"duration": 42,
"end_time": "2023-05-04T09:42:00+00:00",
"identity": "string",
"links": {},
"room_sid": "string",
"sid": "string",
"start_time": "2023-05-04T09:42:00+00:00",
"status": "connected",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"duration": 42,
"end_time": "2024-05-04T09:42:00+00:00",
"identity": "string",
"links": {},
"room_sid": "string",
"sid": "string",
"start_time": "2024-05-04T09:42:00+00:00",
"status": "connected",
"url": "https://example.com"
}