POST
/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.jsonUpdate a Connect App
Updates the configuration of a Connect App belonging to an account. Provide the fields to change, such as its redirect URLs, descriptive details, or requested permissions.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
AccountSidstringrequired
The account SID, formatted as `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The Connect App SID, formatted as `CN` followed by 32 hexadecimal characters.
Optional Connect App configuration fields to update.
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`.
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`.
200Returns the updated Connect App resource, including its URLs, descriptive details, requested permissions, and SID.
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`.
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
The AccountSid path parameter must match the account SID format, and the Sid path parameter must match the Connect App SID format. If provided, AuthorizeRedirectUrl, DeauthorizeCallbackUrl, and HomepageUrl must be URIs; DeauthorizeCallbackMethod must be GET or POST, and each Permissions item must be get-all or post-all.