Twilio Connect apps
Update a connect-app with the specified parameters
Path parameters
-
The SID of the Account that created the ConnectApp resources to update.
Minimum length is
34, maximum length is34. Format should match the following pattern:^AC[0-9a-fA-F]{32}$. -
The Twilio-provided string that uniquely identifies the ConnectApp resource to update.
Minimum length is
34, maximum length is34. Format should match the following pattern:^CN[0-9a-fA-F]{32}$.
Body
-
The company name to set for the Connect App.
-
A description of the Connect App.
-
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
-
A public URL where users can obtain more information about this Connect App.
-
A comma-separated list of the permissions you will request from the users of this ConnectApp. Can include:
get-allandpost-all.Values are
get-allorpost-all.
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'AuthorizeRedirectUrl=https%3A%2F%2Fexample.com&CompanyName=company_name&DeauthorizeCallbackMethod=GET&DeauthorizeCallbackUrl=https%3A%2F%2Fexample.com&Description=description&FriendlyName=friendly_name&HomepageUrl=https%3A%2F%2Fexample.com&Permissions=get-all'
{"AuthorizeRedirectUrl" => "https://example.com", "CompanyName" => "company_name", "DeauthorizeCallbackMethod" => "GET", "DeauthorizeCallbackUrl" => "https://example.com", "Description" => "description", "FriendlyName" => "friendly_name", "HomepageUrl" => "https://example.com", "Permissions" => ["get-all"]}
{
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"authorize_redirect_url": "http://example.com/redirect",
"company_name": "Twilio",
"deauthorize_callback_method": "GET",
"deauthorize_callback_url": "http://example.com/deauth",
"description": null,
"friendly_name": "Connect app for deletion",
"homepage_url": "http://example.com/home",
"permissions": [],
"sid": "CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ConnectApps/CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
}