メニュー

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?

ConnectionPolicy Resource

The ConnectionPolicies resource describes a list of URI Entries that are used to route Origination traffic to a PSTN Carrier over a BYOC Trunk.

ConnectionPolicy properties

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

The SID of the Account that created the Connection Policy resource.

sid
sid<NY> Not PII

The unique string that we created to identify the Connection Policy resource.

friendly_name
文字列 Not PII

The string that you assigned to describe the resource.

date_created
date_time<iso8601> Not PII

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

date_updated
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.

links
uri_map Not PII

The URLs of related resources.

Create a ConnectionPolicy resource

post
https://voice.twilio.com/v1/ConnectionPolicies
パラメーター
Parameters in REST API format
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
        
        
        
        

        Fetch a ConnectionPolicy resource

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

        The unique string that we created to identify the Connection Policy resource to fetch.

        例 1
              
              
              
              

              Read multiple ConnectionPolicy resources

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

                    Update a ConnectionPolicy resource

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

                    The unique string that we created to identify the Connection Policy 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 a ConnectionPolicy resource

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

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

                          例 1
                                
                                
                                
                                
                                Rate this page:

                                ヘルプが必要ですか?

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