メニュー

Expand
ページを評価:

DialingPermissions BulkCountryUpdate Resource

Updates country dialing permissions in bulk.

DialingPermissions BulkCountryUpdate properties

Resource Properties in REST API format
update_count
integer Not PII

The number of countries updated

update_request
文字列 Not PII

A bulk update request to change voice dialing country permissions stored as a URL-encoded, JSON array of update objects. For example : [ { "iso_code": "GB", "low_risk_numbers_enabled": "true", "high_risk_special_numbers_enabled":"true", "high_risk_tollfraud_numbers_enabled": "false" } ]

The UpdateRequest parameter is a URL-encoded JSON string that describes an array of objects, each object containing these properties.

  • high_risk_special_numbers_enabled ‐ (Boolean) Whether high-risk special numbers are enabled
  • high_risk_tollfraud_numbers_enabled ‐ (Boolean) Whether high-risk toll fraud numbers are enabled
  • iso_code ‐ (string) The ISO country code
  • low_risk_numbers_enabled ‐ (Boolean) Whether low risk numbers are enabled

Create a DialingPermissions BulkCountryUpdate resource

post
https://voice.twilio.com/v1/DialingPermissions/BulkCountryUpdates
パラメーター
Parameters in REST API format
update_request
必須
post 文字列 Not PII

URL encoded JSON array of update objects. example : [ { "iso_code": "GB", "low_risk_numbers_enabled": "true", "high_risk_special_numbers_enabled":"true", "high_risk_tollfraud_numbers_enabled": "false" } ]

例 1
        
        
        
        
        Update the dialing permissions for Great Britain [GB]

        Create a BulkCountryUpdate resource to update a single country

        Update the dialing permissions for Great Britain [GB]
        例 2
              
              
              
              
              Enable low-risk number groups in the countries with ISO codes [US , DE , FR , GB , IL , IN , JP , AU , BR]

              Create a BulkCountryUpdate resource to enable low-risk numbers in several countries

              Enable low-risk number groups in the countries with ISO codes [US , DE , FR , GB , IL , IN , JP , AU , BR]
              例 3
                    
                    
                    
                    
                    Disable high-risk number groups in the countries with ISO codes [CU , LV , SO , LT , GN , GM , ZW , MV , TN, EE]

                    Create a BulkCountryUpdate resource to disable high-risk numbers in several countries

                    Disable high-risk number groups in the countries with ISO codes [CU , LV , SO , LT , GN , GM , ZW , MV , TN, EE]
                    ページを評価:

                    ヘルプが必要ですか?

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

                          
                          
                          

                          フィードバックくださりありがとうございます!

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

                          Sending your feedback...
                          🎉 Thank you for your feedback!
                          Something went wrong. Please try again.

                          Thanks for your feedback!

                          Refer us and get $10 in 3 simple steps!

                          ステップ1

                          Get link

                          Get a free personal referral link here

                          ステップ2:

                          Give $10

                          Your user signs up and upgrade using link

                          ステップ3

                          Get $10

                          1,250 free SMSes
                          OR 1,000 free voice mins
                          OR 12,000 chats
                          OR more