Sample - Twilio API
POST/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json

Update a Connect App

Updates the specified Connect App with the fields you provide. Use URI fields to configure redirects and callbacks, and use Permissions to define the access requested from users. Omitted fields remain unchanged.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters · 8 body fields
AccountSidstringrequired
The account SID that owns the Connect App. Must be 34 characters and match the `AC` SID format.
Sidstringrequired
The unique Connect App SID to update. Must be 34 characters and match the `CN` SID format.

Optional Connect App update fields. Send the properties that you want to change.

AuthorizeRedirectUrlstringoptional
The URL to redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
CompanyNamestringoptional
The company name to set for the Connect App.
DeauthorizeCallbackMethodstringoptional
The HTTP method to use when calling `deauthorize_callback_url`.
Allowed:GETPOST
DeauthorizeCallbackUrlstringoptional
The URL to call using the `deauthorize_callback_method` to de-authorize the Connect App.
Descriptionstringoptional
A description of the Connect App.
FriendlyNamestringoptional
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
HomepageUrlstringoptional
A public URL where users can obtain more information about this Connect App.
Permissionsarray<string>optional
A comma-separated list of the permissions you will request from the users of this ConnectApp. Can include: `get-all` and `post-all`.

1 status code
200Returns the updated Connect App object, including its callback configuration, descriptive fields, requested permissions, SIDs, and resource URI.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ConnectApp resource.
authorize_redirect_urlstringoptional
The URL we redirect the user to after we authenticate the user and obtain authorization to access the Connect App.
company_namestringoptional
The company name set for the Connect App.
deauthorize_callback_methodstringoptional
The HTTP method we use to call `deauthorize_callback_url`.
Allowed:GETPOST
deauthorize_callback_urlstringoptional
The URL we call using the `deauthorize_callback_method` to de-authorize the Connect App.
descriptionstringoptional
The description of the Connect App.
friendly_namestringoptional
The string that you assigned to describe the resource.
homepage_urlstringoptional
The public URL where users can obtain more information about this Connect App.
permissionsarray<string>optional
The set of permissions that your ConnectApp requests.
sidstringoptional
The unique string that that we created to identify the ConnectApp resource.
uristringoptional
The URI of the resource, relative to `https://api.twilio.com`.

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character Connect App SID beginning with CN. URI fields must contain valid URIs, DeauthorizeCallbackMethod must be GET or POST, and each permission must be get-all or post-all.