Update an Extension for an Add-on installation
Update an Extension for an Add-on installation.
Path parameters
-
The SID of the InstalledAddOn resource with the extension to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^XE[0-9a-fA-F]{32}$
. -
The SID of the InstalledAddOn Extension resource to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^XF[0-9a-fA-F]{32}$
.
POST
/v1/InstalledAddOns/{InstalledAddOnSid}/Extensions/{Sid}
curl \
--request POST 'https://marketplace.twilio.com/v1/InstalledAddOns/{InstalledAddOnSid}/Extensions/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Enabled=false'
Request example
{"Enabled"=>false}
Response examples (200)
{
"sid": "XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions/XFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"enabled": false,
"unique_name": "voice-incoming",
"product_name": "Programmable Voice",
"friendly_name": "Incoming Voice Call",
"installed_add_on_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}