Update a connect-app with the specified parameters

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

Twilio Connect apps

Update a connect-app with the specified parameters

Path parameters

  • AccountSid string Required

    The SID of the Account that created the ConnectApp resources to update.

  • Sid string Required

    The Twilio-provided string that uniquely identifies the ConnectApp resource to update.

application/x-www-form-urlencoded

Body

  • The URL to redirect the user to after we authenticate the user and obtain authorization to access the Connect App.

  • The company name to set for the Connect App.

  • DeauthorizeCallbackMethod string(http-method)

    The HTTP method to use when calling deauthorize_callback_url.

    Values are HEAD, GET, POST, PATCH, PUT, or DELETE.

  • The URL to call using the deauthorize_callback_method to de-authorize 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.

  • 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 and post-all.

    Values are get-all or post-all.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • authorize_redirect_url string(uri) | null

      The URL to redirect the user to after authorization

    • company_name string | null

      The company name set for the Connect App

    • deauthorize_callback_method string(http-method) | null

      The HTTP method we use to call deauthorize_callback_url

      Values are HEAD, GET, POST, PATCH, PUT, or DELETE.

    • deauthorize_callback_url string(uri) | null

      The URL we call to de-authorize the Connect App

    • description string | null

      The description of the Connect App

    • friendly_name string | null

      The string that you assigned to describe the resource

    • homepage_url string(uri) | null

      The URL users can obtain more information

    • permissions array[string] | null

      The set of permissions that your ConnectApp requests

      Values are get-all or post-all.

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CN[0-9a-fA-F]{32}$.

    • uri string(uri) | null

      The URI of the resource, relative to https://api.twilio.com

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"
  ]
}
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"
}