AccountsV1AuthTokenPromotion

Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.

Changed on

Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.

post/v1/AuthTokens/Promote

Request

  • Base URL
    https://accounts.twilio.com
  • URL
    https://accounts.twilio.com/v1/AuthTokens/Promote
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

SuppressEmailNotificationboolean

Whether to suppress the email notification that Twilio sends to the owners and administrators of the account about this Auth Token change. Defaults to false, so Twilio sends the email. Set to true when rotating Auth Tokens across many subaccounts.

Response

OK

account_sidstring nullable

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

auth_tokenstring nullable

The promoted Auth Token that must be used to authenticate future API requests.

date_createdstring date-time nullable

The date and time in UTC when the resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

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

urlstring uri nullable

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

Changes