メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

IpAccessControlList Resource

The IP Access Control List subresource contains the list of IP Access Control List instances associated with this Trunk. If an INVITE is received for a Trunk, the source IP address must be in one of the lists for the INVITE to be accepted.

This API endpoint will only allow you to list, add, and remove IP Access Control Lists to your SIP Trunk. In order to create, list, and delete IP Access Control List instances please see the core Twilio REST API. Check out the IP Access Control List reference docs.

IpAccessControlList properties

Names in PHP format
accountSid
sid<AC> Not PII

The SID of the Account that created the IpAccessControlList resource.

sid
sid<AL> Not PII

The unique string that we created to identify the IpAccessControlList resource.

trunkSid
sid<TR> Not PII

The SID of the Trunk the resource is associated with.

friendlyName
文字列 Not PII

The string that you assigned to describe the resource.

dateCreated
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in RFC 2822 format.

dateUpdated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in RFC 2822 format.

url
url Not PII

The absolute URL of the resource.

Create an IpAccessControlList resource

post
https://trunking.twilio.com/v1/Trunks/{TrunkSid}/IpAccessControlLists
パラメーター
Names in None format
trunk_sid
必須
post sid<TR> Not PII

The SID of the Trunk to associate the IP Access Control List with.

ip_access_control_list_sid
必須
post sid<AL> Not PII

The SID of the IP Access Control List that you want to associate with the trunk.

        
        
        
        

        Read multiple IpAccessControlList resources

        GET
        https://trunking.twilio.com/v1/Trunks/{TrunkSid}/IpAccessControlLists
        パラメーター
        Names in None format
        trunk_sid
        必須
        GET sid<TR> Not PII

        The SID of the Trunk from which to read the IP Access Control Lists.

              
              
              
              

              Delete an IpAccessControlList resource

              削除する
              https://trunking.twilio.com/v1/Trunks/{TrunkSid}/IpAccessControlLists/{Sid}
              パラメーター
              Names in None format
              trunk_sid
              必須
              削除する sid<TR> Not PII

              The SID of the Trunk from which to delete the IP Access Control List.

              sid
              必須
              削除する sid<AL> Not PII

              The unique string that we created to identify the IpAccessControlList resource to delete.

                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

                    誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。