Skip to content

Latest commit

 

History

History
142 lines (78 loc) · 6.96 KB

Api20100401AuthCallsIpAccessControlListMappingApi.md

File metadata and controls

142 lines (78 loc) · 6.96 KB

\Api20100401AuthCallsIpAccessControlListMappingApi

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

create_sip_auth_calls_ip_access_control_list_mapping

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

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipAuthPeriodSipAuthCallsPeriodSipAuthCallsIpAccessControlListMapping

Authorization

accountSid_authToken

HTTP request headers

  • 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

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

Parameters

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]

Return type

(empty response body)

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

fetch_sip_auth_calls_ip_access_control_list_mapping

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

Parameters

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]

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodSipPeriodSipDomainPeriodSipAuthPeriodSipAuthCallsPeriodSipAuthCallsIpAccessControlListMapping

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_sip_auth_calls_ip_access_control_list_mapping

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

Parameters

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.

Return type

crate::models::ListSipAuthCallsIpAccessControlListMappingResponse

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]