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

     1  # SettingsApi
     2  
     3  All URIs are relative to *https://voice.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**FetchDialingPermissionsSettings**](SettingsApi.md#FetchDialingPermissionsSettings) | **Get** /v1/Settings | 
     8  [**UpdateDialingPermissionsSettings**](SettingsApi.md#UpdateDialingPermissionsSettings) | **Post** /v1/Settings | 
     9  
    10  
    11  
    12  ## FetchDialingPermissionsSettings
    13  
    14  > VoiceV1DialingPermissionsSettings FetchDialingPermissionsSettings(ctx, )
    15  
    16  
    17  
    18  Retrieve voice dialing permissions inheritance for the sub-account
    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 FetchDialingPermissionsSettingsParams struct
    27  
    28  
    29  ### Return type
    30  
    31  [**VoiceV1DialingPermissionsSettings**](VoiceV1DialingPermissionsSettings.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  ## UpdateDialingPermissionsSettings
    48  
    49  > VoiceV1DialingPermissionsSettings UpdateDialingPermissionsSettings(ctx, optional)
    50  
    51  
    52  
    53  Update voice dialing permissions inheritance for the sub-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 UpdateDialingPermissionsSettingsParams struct
    62  
    63  
    64  Name | Type | Description
    65  ------------- | ------------- | -------------
    66  **DialingPermissionsInheritance** | **bool** | `true` for the sub-account to inherit voice dialing permissions from the Master Project; otherwise `false`.
    67  
    68  ### Return type
    69  
    70  [**VoiceV1DialingPermissionsSettings**](VoiceV1DialingPermissionsSettings.md)
    71  
    72  ### Authorization
    73  
    74  [accountSid_authToken](../README.md#accountSid_authToken)
    75  
    76  ### HTTP request headers
    77  
    78  - **Content-Type**: application/x-www-form-urlencoded
    79  - **Accept**: application/json
    80  
    81  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    82  [[Back to Model list]](../README.md#documentation-for-models)
    83  [[Back to README]](../README.md)
    84