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.
The SID of the Account that the secondary Auth Token was created for.
The date and time in UTC when the resource was created specified in ISO 8601 format.
The date and time in UTC when the resource was last updated specified in ISO 8601 format.
The generated secondary Auth Token that can be used to authenticate future API requests.
The URI for this resource, relative to https://accounts.twilio.com
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.