Create plugin release

POST /v1/PluginService/Releases

Headers

  • Flex-Metadata string

    The Flex-Metadata HTTP request header

application/x-www-form-urlencoded

Body

  • ConfigurationId string Required

    The SID or the Version of the Flex Plugin Configuration to release.

Responses

  • 201 application/json

    Created

    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 Plugin Release resource.

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

    • account_sid string | null

      The SID of the Account that created the Plugin Release resource and owns this resource.

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

    • configuration_sid string | null

      The SID of the Plugin Configuration resource to release.

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

    • date_created string(date-time) | null

      The date and time in GMT when the Flex Plugin Release was created specified in ISO 8601 format.

    • url string(uri) | null

      The absolute URL of the Plugin Release resource.

POST /v1/PluginService/Releases
curl \
 --request POST 'https://flex-api.twilio.com/v1/PluginService/Releases' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --header "Flex-Metadata: string" \
 --data 'ConfigurationId=FJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Request example
{"ConfigurationId"=>"FJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
Response examples (201)
{
  "sid": "FKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://flex-api.twilio.com/v1/PluginService/Releases/FKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "date_created": "2020-01-10T20:00:00Z",
  "configuration_sid": "FJaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}