All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
create_sip_auth_calls_ip_access_control_list_mapping | POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json | |
delete_sip_auth_calls_ip_access_control_list_mapping | DELETE /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json | |
fetch_sip_auth_calls_ip_access_control_list_mapping | GET /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json | |
list_sip_auth_calls_ip_access_control_list_mapping | GET /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json |
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipAuthPeriodSipAuthCallsPeriodSipAuthCallsIpAccessControlListMapping create_sip_auth_calls_ip_access_control_list_mapping(account_sid, domain_sid, ip_access_control_list_sid)
Create a new IP Access Control List mapping
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that will create the resource. | [required] | |
domain_sid | String | The SID of the SIP domain that will contain the new resource. | [required] | |
ip_access_control_list_sid | String | The SID of the IpAccessControlList resource to map to the SIP domain. | [required] |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_sip_auth_calls_ip_access_control_list_mapping(account_sid, domain_sid, sid)
Delete an IP Access Control List mapping from the requested domain
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the IpAccessControlListMapping resources to delete. | [required] | |
domain_sid | String | The SID of the SIP domain that contains the resources to delete. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to delete. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipAuthPeriodSipAuthCallsPeriodSipAuthCallsIpAccessControlListMapping fetch_sip_auth_calls_ip_access_control_list_mapping(account_sid, domain_sid, sid)
Fetch a specific instance of an IP Access Control List mapping
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the IpAccessControlListMapping resource to fetch. | [required] | |
domain_sid | String | The SID of the SIP domain that contains the resource to fetch. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to fetch. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListSipAuthCallsIpAccessControlListMappingResponse list_sip_auth_calls_ip_access_control_list_mapping(account_sid, domain_sid, page_size, page, page_token)
Retrieve a list of IP Access Control List mappings belonging to the domain used in the request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the IpAccessControlListMapping resources to read. | [required] | |
domain_sid | String | The SID of the SIP domain that contains the resources to read. | [required] | |
page_size | Option<i32> | How many resources to return in each list page. The default is 50, and the maximum is 1000. | ||
page | Option<i32> | The page index. This value is simply for client state. | ||
page_token | Option<String> | The page token. This is provided by the API. |
crate::models::ListSipAuthCallsIpAccessControlListMappingResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]