If you are using Functions(Classic) or Services and have included your auth token directly instead of using a variable, you must redeploy your classic functions and services when you rotate or update your auth token. Otherwise, those functions and services will fail with a "403 Forbidden" error.
Twilio uses the Account SID and Auth Token to authenticate API requests. The Auth Token can be rotated in the Console or with this API. There are two related endpoints, one to promote the secondary Auth Token and this one to create or delete the secondary Auth Token.
account_sid
type: SID<AC>The SID of the Account that the secondary Auth Token was created for.
^AC[0-9a-fA-F]{32}$
34
34
date_created
type: string<date-time>The date and time in UTC when the resource was created specified in ISO 8601 format.
date_updated
type: string<date-time>The date and time in UTC when the resource was last updated specified in ISO 8601 format.
secondary_auth_token
type: stringThe generated secondary Auth Token that can be used to authenticate future API requests.
POST https://accounts.twilio.com/v1/AuthTokens/Secondary
This action does not accept any parameters.
DELETE https://accounts.twilio.com/v1/AuthTokens/Secondary
This action does not accept any parameters.