github.com/twilio/twilio-go@v1.20.1/rest/accounts/v1/docs/AuthTokensSecondaryApi.md (about)

     1  # AuthTokensSecondaryApi
     2  
     3  All URIs are relative to *https://accounts.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateSecondaryAuthToken**](AuthTokensSecondaryApi.md#CreateSecondaryAuthToken) | **Post** /v1/AuthTokens/Secondary | 
     8  [**DeleteSecondaryAuthToken**](AuthTokensSecondaryApi.md#DeleteSecondaryAuthToken) | **Delete** /v1/AuthTokens/Secondary | 
     9  
    10  
    11  
    12  ## CreateSecondaryAuthToken
    13  
    14  > AccountsV1SecondaryAuthToken CreateSecondaryAuthToken(ctx, )
    15  
    16  
    17  
    18  Create a new secondary Auth Token
    19  
    20  ### Path Parameters
    21  
    22  This endpoint does not need any path parameter.
    23  
    24  ### Other Parameters
    25  
    26  Other parameters are passed through a pointer to a CreateSecondaryAuthTokenParams struct
    27  
    28  
    29  ### Return type
    30  
    31  [**AccountsV1SecondaryAuthToken**](AccountsV1SecondaryAuthToken.md)
    32  
    33  ### Authorization
    34  
    35  [accountSid_authToken](../README.md#accountSid_authToken)
    36  
    37  ### HTTP request headers
    38  
    39  - **Content-Type**: Not defined
    40  - **Accept**: application/json
    41  
    42  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    43  [[Back to Model list]](../README.md#documentation-for-models)
    44  [[Back to README]](../README.md)
    45  
    46  
    47  ## DeleteSecondaryAuthToken
    48  
    49  > DeleteSecondaryAuthToken(ctx, )
    50  
    51  
    52  
    53  Delete the secondary Auth Token from your account
    54  
    55  ### Path Parameters
    56  
    57  This endpoint does not need any path parameter.
    58  
    59  ### Other Parameters
    60  
    61  Other parameters are passed through a pointer to a DeleteSecondaryAuthTokenParams struct
    62  
    63  
    64  ### Return type
    65  
    66   (empty response body)
    67  
    68  ### Authorization
    69  
    70  [accountSid_authToken](../README.md#accountSid_authToken)
    71  
    72  ### HTTP request headers
    73  
    74  - **Content-Type**: Not defined
    75  - **Accept**: Not defined
    76  
    77  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    78  [[Back to Model list]](../README.md#documentation-for-models)
    79  [[Back to README]](../README.md)
    80