Update a connect-app with the specified parameters
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.
-
The Twilio-provided string that uniquely identifies the ConnectApp resource to update.
Body
-
CompanyName string
The company name to set for the Connect App.
-
Description string
A description of the Connect App.
-
FriendlyName string
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
-
HomepageUrl string(uri)
A public URL where users can obtain more information about this Connect App.
-
Permissions array[string]
A comma-separated list of the permissions you will request from the users of this ConnectApp. Can include:
get-all
andpost-all
.Values are
get-all
orpost-all
.
POST /2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'AuthorizeRedirectUrl=https%3A%2F%2Fexample.com&CompanyName=string&DeauthorizeCallbackMethod=HEAD&DeauthorizeCallbackUrl=https%3A%2F%2Fexample.com&Description=string&FriendlyName=string&HomepageUrl=https%3A%2F%2Fexample.com&Permissions=get-all'
Request example
{
"AuthorizeRedirectUrl": "https://example.com",
"CompanyName": "string",
"DeauthorizeCallbackMethod": "HEAD",
"DeauthorizeCallbackUrl": "https://example.com",
"Description": "string",
"FriendlyName": "string",
"HomepageUrl": "https://example.com",
"Permissions": [
"get-all"
]
}
Request examples
{
"AuthorizeRedirectUrl": "https://example.com",
"CompanyName": "string",
"DeauthorizeCallbackMethod": "HEAD",
"DeauthorizeCallbackUrl": "https://example.com",
"Description": "string",
"FriendlyName": "string",
"HomepageUrl": "https://example.com",
"Permissions": [
"get-all"
]
}
Response examples (200)
{
"account_sid": "string",
"authorize_redirect_url": "https://example.com",
"company_name": "string",
"deauthorize_callback_method": "HEAD",
"deauthorize_callback_url": "https://example.com",
"description": "string",
"friendly_name": "string",
"homepage_url": "https://example.com",
"permissions": [
"get-all"
],
"sid": "string",
"uri": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"authorize_redirect_url": "https://example.com",
"company_name": "string",
"deauthorize_callback_method": "HEAD",
"deauthorize_callback_url": "https://example.com",
"description": "string",
"friendly_name": "string",
"homepage_url": "https://example.com",
"permissions": [
"get-all"
],
"sid": "string",
"uri": "https://example.com"
}