To update the category for Questions

POST /v1/Insights/QualityManagement/Categories/{CategorySid}

To update the category for Questions

Headers

  • Authorization string

    The Authorization HTTP request header

Path parameters

  • CategorySid string Required

    The SID of the category to be updated

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

application/x-www-form-urlencoded

Body

  • Name string Required

    The name of this category.

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
    • account_sid string | null

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

    • category_sid string | null

      The SID of the category

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

    • name string | null

      The name of this category.

    • url string(uri) | null
POST /v1/Insights/QualityManagement/Categories/{CategorySid}
curl \
 --request POST 'https://flex-api.twilio.com/v1/Insights/QualityManagement/Categories/{CategorySid}' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --header "Authorization: string" \
 --data 'Name=abcd'
Request example
{"Name"=>"abcd"}
Response examples (200)
{
  "url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Categories/FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "name": "abcd",
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "category_sid": "FYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}