SIP IpAccessControlList Resource
IpAccessControlList resources contain the Access Control List (ACL), which is a list of IpAddress resources that describe the IP addresses with access to the SIP Domain. Requests to the SIP Domain from an IP address that is not in the ACL are blocked.
After you create an IpAccessControlList resource, you will need to map it to your SIP domain for it to take effect. You can apply the same list to more than one SIP Domain.
Your Account can have up to 25 IpAccessControlList resources.
Each IpAccessControlList resource can contain up to 100 entries (which could be CIDR blocks).
SipIpAccessControlList properties
Resource Properties in REST API format | |
---|---|
sid
|
このリソースを一意に識別する 34 文字の文字列です。 |
account_sid
|
このリソースを所有するアカウントのユニーク ID です。 |
friendly_name
|
人間が読みやすい形式の説明です。64 文字まで設定できます。 |
date_created
|
このリソースが生成された日付の GMT 表記です。 RFC 2822 フォーマットを使用します。 |
date_updated
|
DateUpdated | このリソースが最後に更新された日付の GMT 表記です。 RFC 2822 フォーマットを使用します。 |
subresource_uris
|
A list of the IpAddress resources associated with this IP access control list resource. |
uri
|
このリソースのURIで、右記のURLに対する相対パスです |
Create a SIP IpAccessControlList resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
The ACL that is created is empty and has no IP addresses.
You will need to add IpAddress resources to the list for it to have any effect.
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
friendly_name
必須
|
IpAccessControlListの説明です。64 文字まで設定できます。 |
例 1
Fetch a SIP IpAccessControlList resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
sid
Path
|
A 34 character string that uniquely identifies the resource to fetch. |
例 1
Read multiple SIP IpAccessControlList resources
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
例 1
Update a SIP IpAccessControlList resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
sid
Path
|
A 34 character string that uniquely identifies the resource to udpate. |
friendly_name
必須
|
人間が読みやすい形式の説明です。64 文字まで設定できます。 |
例 1
Delete a SIP IpAccessControlList resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
sid
Path
|
A 34 character string that uniquely identifies the resource to delete. |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。