Update a specific Custom Operator.
Update a specific Custom Operator.
Path parameters
-
A 34 character string that uniquely identifies this Custom Operator.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^LY[0-9a-fA-F]{32}$
.
POST
/v2/Operators/Custom/{Sid}
curl \
--request POST 'https://intelligence.twilio.com/v2/Operators/Custom/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--header "If-Match: string" \
--data 'Config=%7B+%22configuration%22+%3A+%7B+%22field%22%3A+%22value%22%7D%7D&FriendlyName=My+New+Operator'
Request example
{"Config"=>"{ \"configuration\" : { \"field\": \"value\"}}", "FriendlyName"=>"My New Operator"}
Response examples (202)
{
"sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://intelligence.twilio.com/v2/Operators/Custom/LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"author": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"config": {
"configuration": {
"field": "value"
}
},
"version": 2,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"description": "My New Operator",
"availability": "public",
"date_created": "2010-08-31T20:36:28Z",
"date_updated": "2010-08-31T20:36:28Z",
"friendly_name": "My New Operator",
"operator_type": "operator-type-name"
}