Path parameters
-
The SID of the WebChannel resource to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CH[0-9a-fA-F]{32}$
.
POST
/v1/WebChannels/{Sid}
curl \
--request POST 'https://flex-api.twilio.com/v1/WebChannels/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'ChatStatus=inactive&PostEngagementData=%7B%7D'
Request example
{"ChatStatus"=>"inactive", "PostEngagementData"=>"{}"}
Response examples (200)
{
"sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://flex-api.twilio.com/v1/WebChannels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2016-08-01T22:10:40Z",
"date_updated": "2016-08-01T22:10:40Z",
"flex_flow_sid": "FOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}