Create a new secondary Auth Token

POST /v1/AuthTokens/Secondary

Secondary Auth Token

Create a new secondary Auth Token

Responses

  • Created

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

      The SID of the Account that the secondary Auth Token was created for

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

    • date_created string(date-time) | null

      The ISO 8601 formatted date and time in UTC when the resource was created

    • date_updated string(date-time) | null

      The ISO 8601 formatted date and time in UTC when the resource was last updated

    • The generated secondary Auth Token

    • url string(uri) | null

      The URI for this resource, relative to https://accounts.twilio.com

POST /v1/AuthTokens/Secondary
curl \
 -X POST https://accounts.twilio.com/v1/AuthTokens/Secondary \
 --user "username:password"
Response examples (201)
{
  "account_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "secondary_auth_token": "string",
  "url": "https://example.com"
}
Response examples (201)
{
  "account_sid": "string",
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "secondary_auth_token": "string",
  "url": "https://example.com"
}