メニュー

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?

IpRecord Resource

The IpRecord resource describe Static IP addresses used to address the BYOC Trunk's Termination SIP Domain via an IP Address instead of an FQDN (Fully Qualified Domain Name).

The IP Address used in this resource must be a subset of a Twilio Interconnect connection configured on the same Account.

IpRecord properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the IP Record resource.

sid
sid<IL> Not PII

The unique string that we created to identify the IP Record resource.

friendly_name
文字列 Not PII

The string that you assigned to describe the resource.

ip_address
文字列 PII MTL: 30 DAYS

An IP address in dotted decimal notation, IPv4 only.

cidr_prefix_length
integer Not PII

An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.

date_created
date_time<iso8601> Not PII

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

date_updated
date_time<iso8601> Not PII

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

url
url Not PII

The absolute URL of the resource.

Create an IpRecord resource

post
https://voice.twilio.com/v1/IpRecords
パラメーター
Parameters in REST API format
ip_address
必須
post 文字列 PII MTL: 30 DAYS

An IP address in dotted decimal notation, IPv4 only.

friendly_name
オプション
post 文字列 Not PII

A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.

cidr_prefix_length
オプション
post integer Not PII

An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.

例 1
        
        
        
        

        Fetch an IpRecord resource

        GET
        https://voice.twilio.com/v1/IpRecords/{Sid}
        パラメーター
        Parameters in REST API format
        sid
        Path
        GET sid<IL> Not PII

        The Twilio-provided string that uniquely identifies the IP Record resource to fetch.

        例 1
              
              
              
              

              Read multiple IpRecord resources

              GET
              https://voice.twilio.com/v1/IpRecords
              例 1
                    
                    
                    
                    

                    Update an IpRecord resource

                    post
                    https://voice.twilio.com/v1/IpRecords/{Sid}
                    パラメーター
                    Parameters in REST API format
                    sid
                    Path
                    post sid<IL> Not PII

                    The Twilio-provided string that uniquely identifies the IP Record resource to update.

                    friendly_name
                    オプション
                    post 文字列 Not PII

                    A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.

                    例 1
                          
                          
                          
                          

                          Delete an IpRecord resource

                          削除する
                          https://voice.twilio.com/v1/IpRecords/{Sid}
                          パラメーター
                          Parameters in REST API format
                          sid
                          Path
                          削除する sid<IL> Not PII

                          The Twilio-provided string that uniquely identifies the IP Record resource to delete.

                          例 1
                                
                                
                                
                                
                                Rate this page:

                                ヘルプが必要ですか?

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