Update an existing Channel Participant.
Update an existing Channel Participant.
Path parameters
-
The Interaction Sid for this channel.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KD[0-9a-fA-F]{32}$
. -
The Channel Sid for this Participant.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^UO[0-9a-fA-F]{32}$
. -
The unique string created by Twilio to identify an Interaction Channel resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^UT[0-9a-fA-F]{32}$
.
POST
/v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Participants/{Sid}
curl \
--request POST 'https://flex-api.twilio.com/v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Participants/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Status=closed'
Request examples
Update
{"Status"=>"closed"}
{"Status"=>"closed"}
Response examples (200)
Update
{
"sid": "UTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"url": "https://flex-api.twilio.com/v1/Interactions/KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/UOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1/Participants/UTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"type": "agent",
"channel_sid": "UOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"interaction_sid": "KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"routing_properties": {
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"worker_sid": "WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reservation_sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
{
"sid": "UTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"url": "https://flex-api.twilio.com/v1/Interactions/KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/UOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1/Participants/UTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"type": "agent",
"channel_sid": "UOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1",
"interaction_sid": "KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"routing_properties": {
"task_sid": "WTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"worker_sid": "WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"reservation_sid": "WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}