Update an Add-on installation for the Account specified

POST /v1/InstalledAddOns/{Sid}

Update an Add-on installation for the Account specified.

Path parameters

  • Sid string Required

    The SID of the InstalledAddOn resource to update.

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

application/x-www-form-urlencoded

Body

  • Configuration

    Valid JSON object that conform to the configuration schema exposed by the associated AvailableAddOn resource. This is only required by Add-ons that need to be configured

  • UniqueName string

    An application-defined string that uniquely identifies the resource. This value must be unique within the Account.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

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

      The unique string that we created to identify the InstalledAddOn resource. This Sid can also be found in the Console on that specific Add-ons page as the 'Available Add-on Sid'.

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

    • account_sid string | null

      The SID of the Account that created the InstalledAddOn resource.

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

    • friendly_name string | null

      The string that you assigned to describe the resource.

    • description string | null

      A short description of the Add-on's functionality.

    • configuration object | null

      The JSON object that represents the current configuration of installed Add-on.

    • unique_name string | null

      An application-defined string that uniquely identifies the resource.

    • date_created string(date-time) | null

      The date and time in GMT when the resource was created specified in ISO 8601 format.

    • date_updated string(date-time) | null

      The date and time in GMT when the resource was last updated specified in ISO 8601 format.

    • url string(uri) | null

      The absolute URL of the resource.

POST /v1/InstalledAddOns/{Sid}
curl \
 --request POST 'https://marketplace.twilio.com/v1/InstalledAddOns/{Sid}' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'UniqueName=voicebase_high_accuracy_transcription_2&Configuration=%7B%22bad_words%22%3A+true%7D'
Request example
{"UniqueName"=>"voicebase_high_accuracy_transcription_2", "Configuration"=>"{\"bad_words\": true}"}
Response examples (200)
{
  "sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "links": {
    "extensions": "https://marketplace.twilio.com/v1/InstalledAddOns/XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Extensions",
    "available_add_on": "https://marketplace.twilio.com/v1/AvailableAddOns/XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  },
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "description": "Automatic Transcription and Keyword Extract...",
  "unique_name": "voicebase_high_accuracy_transcription_2",
  "date_created": "2016-04-07T23:52:28Z",
  "date_updated": "2016-04-07T23:52:28Z",
  "configuration": {
    "bad_words": true
  },
  "friendly_name": "VoiceBase High Accuracy Transcription"
}