github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/docs/AccountsSIPDomainsIpAccessControlListMappingsApi.md (about) 1 # AccountsSIPDomainsIpAccessControlListMappingsApi 2 3 All URIs are relative to *https://api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateSipIpAccessControlListMapping**](AccountsSIPDomainsIpAccessControlListMappingsApi.md#CreateSipIpAccessControlListMapping) | **Post** /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json | 8 [**DeleteSipIpAccessControlListMapping**](AccountsSIPDomainsIpAccessControlListMappingsApi.md#DeleteSipIpAccessControlListMapping) | **Delete** /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json | 9 [**FetchSipIpAccessControlListMapping**](AccountsSIPDomainsIpAccessControlListMappingsApi.md#FetchSipIpAccessControlListMapping) | **Get** /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json | 10 [**ListSipIpAccessControlListMapping**](AccountsSIPDomainsIpAccessControlListMappingsApi.md#ListSipIpAccessControlListMapping) | **Get** /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json | 11 12 13 14 ## CreateSipIpAccessControlListMapping 15 16 > ApiV2010SipIpAccessControlListMapping CreateSipIpAccessControlListMapping(ctx, DomainSidoptional) 17 18 19 20 Create a new IpAccessControlListMapping resource. 21 22 ### Path Parameters 23 24 25 Name | Type | Description 26 ------------- | ------------- | ------------- 27 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 28 **DomainSid** | **string** | A 34 character string that uniquely identifies the SIP domain. 29 30 ### Other Parameters 31 32 Other parameters are passed through a pointer to a CreateSipIpAccessControlListMappingParams struct 33 34 35 Name | Type | Description 36 ------------- | ------------- | ------------- 37 **PathAccountSid** | **string** | The unique id of the Account that is responsible for this resource. 38 **IpAccessControlListSid** | **string** | The unique id of the IP access control list to map to the SIP domain. 39 40 ### Return type 41 42 [**ApiV2010SipIpAccessControlListMapping**](ApiV2010SipIpAccessControlListMapping.md) 43 44 ### Authorization 45 46 [accountSid_authToken](../README.md#accountSid_authToken) 47 48 ### HTTP request headers 49 50 - **Content-Type**: application/x-www-form-urlencoded 51 - **Accept**: application/json 52 53 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 54 [[Back to Model list]](../README.md#documentation-for-models) 55 [[Back to README]](../README.md) 56 57 58 ## DeleteSipIpAccessControlListMapping 59 60 > DeleteSipIpAccessControlListMapping(ctx, DomainSidSidoptional) 61 62 63 64 Delete an IpAccessControlListMapping resource. 65 66 ### Path Parameters 67 68 69 Name | Type | Description 70 ------------- | ------------- | ------------- 71 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 72 **DomainSid** | **string** | A 34 character string that uniquely identifies the SIP domain. 73 **Sid** | **string** | A 34 character string that uniquely identifies the resource to delete. 74 75 ### Other Parameters 76 77 Other parameters are passed through a pointer to a DeleteSipIpAccessControlListMappingParams struct 78 79 80 Name | Type | Description 81 ------------- | ------------- | ------------- 82 **PathAccountSid** | **string** | The unique id of the Account that is responsible for this resource. 83 84 ### Return type 85 86 (empty response body) 87 88 ### Authorization 89 90 [accountSid_authToken](../README.md#accountSid_authToken) 91 92 ### HTTP request headers 93 94 - **Content-Type**: Not defined 95 - **Accept**: Not defined 96 97 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 98 [[Back to Model list]](../README.md#documentation-for-models) 99 [[Back to README]](../README.md) 100 101 102 ## FetchSipIpAccessControlListMapping 103 104 > ApiV2010SipIpAccessControlListMapping FetchSipIpAccessControlListMapping(ctx, DomainSidSidoptional) 105 106 107 108 Fetch an IpAccessControlListMapping resource. 109 110 ### Path Parameters 111 112 113 Name | Type | Description 114 ------------- | ------------- | ------------- 115 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 116 **DomainSid** | **string** | A 34 character string that uniquely identifies the SIP domain. 117 **Sid** | **string** | A 34 character string that uniquely identifies the resource to fetch. 118 119 ### Other Parameters 120 121 Other parameters are passed through a pointer to a FetchSipIpAccessControlListMappingParams struct 122 123 124 Name | Type | Description 125 ------------- | ------------- | ------------- 126 **PathAccountSid** | **string** | The unique id of the Account that is responsible for this resource. 127 128 ### Return type 129 130 [**ApiV2010SipIpAccessControlListMapping**](ApiV2010SipIpAccessControlListMapping.md) 131 132 ### Authorization 133 134 [accountSid_authToken](../README.md#accountSid_authToken) 135 136 ### HTTP request headers 137 138 - **Content-Type**: Not defined 139 - **Accept**: application/json 140 141 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 142 [[Back to Model list]](../README.md#documentation-for-models) 143 [[Back to README]](../README.md) 144 145 146 ## ListSipIpAccessControlListMapping 147 148 > []ApiV2010SipIpAccessControlListMapping ListSipIpAccessControlListMapping(ctx, DomainSidoptional) 149 150 151 152 Retrieve a list of IpAccessControlListMapping resources. 153 154 ### Path Parameters 155 156 157 Name | Type | Description 158 ------------- | ------------- | ------------- 159 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 160 **DomainSid** | **string** | A 34 character string that uniquely identifies the SIP domain. 161 162 ### Other Parameters 163 164 Other parameters are passed through a pointer to a ListSipIpAccessControlListMappingParams struct 165 166 167 Name | Type | Description 168 ------------- | ------------- | ------------- 169 **PathAccountSid** | **string** | The unique id of the Account that is responsible for this resource. 170 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 171 **Limit** | **int** | Max number of records to return. 172 173 ### Return type 174 175 [**[]ApiV2010SipIpAccessControlListMapping**](ApiV2010SipIpAccessControlListMapping.md) 176 177 ### Authorization 178 179 [accountSid_authToken](../README.md#accountSid_authToken) 180 181 ### HTTP request headers 182 183 - **Content-Type**: Not defined 184 - **Accept**: application/json 185 186 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 187 [[Back to Model list]](../README.md#documentation-for-models) 188 [[Back to README]](../README.md) 189