Update plugin archive

POST /v1/PluginService/Plugins/{Sid}/Archive

Headers

  • Flex-Metadata string

    The Flex-Metadata HTTP request header

Path parameters

  • Sid string Required

    The SID of the Flex Plugin resource to archive.

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

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

    • account_sid string | null

      The SID of the Account that created the Flex Plugin 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}$.

    • unique_name string | null

      The name that uniquely identifies this Flex Plugin resource.

    • friendly_name string | null

      The friendly name this Flex Plugin resource.

    • description string | null

      A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long

    • archived boolean | null

      Whether the Flex Plugin is archived. The default value is false.

    • date_created string(date-time) | null

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

    • date_updated string(date-time) | null

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

    • url string(uri) | null

      The absolute URL of the Flex Plugin resource.

POST /v1/PluginService/Plugins/{Sid}/Archive
curl \
 --request POST 'https://flex-api.twilio.com/v1/PluginService/Plugins/{Sid}/Archive' \
 --user "username:password" \
 --header "Flex-Metadata: string"
Response examples (200)
{
  "sid": "FPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://flex-api.twilio.com/v1/PluginService/Plugins/FPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Archive",
  "archived": true,
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "description": "description update",
  "unique_name": "unique-name",
  "date_created": "2020-01-10T20:00:00Z",
  "date_updated": "2020-01-10T20:00:00Z",
  "friendly_name": "friendly name update"
}