github.com/twilio/twilio-go@v1.20.1/rest/accounts/v1/docs/AuthTokensPromoteApi.md (about) 1 # AuthTokensPromoteApi 2 3 All URIs are relative to *https://accounts.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**UpdateAuthTokenPromotion**](AuthTokensPromoteApi.md#UpdateAuthTokenPromotion) | **Post** /v1/AuthTokens/Promote | 8 9 10 11 ## UpdateAuthTokenPromotion 12 13 > AccountsV1AuthTokenPromotion UpdateAuthTokenPromotion(ctx, ) 14 15 16 17 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. 18 19 ### Path Parameters 20 21 This endpoint does not need any path parameter. 22 23 ### Other Parameters 24 25 Other parameters are passed through a pointer to a UpdateAuthTokenPromotionParams struct 26 27 28 ### Return type 29 30 [**AccountsV1AuthTokenPromotion**](AccountsV1AuthTokenPromotion.md) 31 32 ### Authorization 33 34 [accountSid_authToken](../README.md#accountSid_authToken) 35 36 ### HTTP request headers 37 38 - **Content-Type**: Not defined 39 - **Accept**: application/json 40 41 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 42 [[Back to Model list]](../README.md#documentation-for-models) 43 [[Back to README]](../README.md) 44