Update flow test users

POST /v2/Flows/{Sid}/TestUsers

Test users of a flow

Update flow test users

Path parameters

  • Sid string Required

    Unique identifier of the flow.

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

application/x-www-form-urlencoded

Body

  • TestUsers array[string] Required

    List of test user identities that can test draft versions of the flow.

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

      Unique identifier of the flow.

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

    • test_users array[string] | null

      List of test user identities that can test draft versions of the flow.

    • url string(uri) | null

      The URL of this resource.

POST /v2/Flows/{Sid}/TestUsers
curl \
 --request POST 'https://studio.twilio.com/v2/Flows/{Sid}/TestUsers' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'TestUsers=user1&TestUsers=user2'
Request example
{"TestUsers"=>["user1", "user2"]}
Response examples (200)
{
  "sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://studio.twilio.com/v2/Flows/FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/TestUsers",
  "test_users": [
    "user1",
    "user2"
  ]
}