SIP IpAddress Resource
IpAddress resources describe the IP addresses that have access to the SIP Domain.
SIP IpAddress properties
Resource Properties in REST API format | |
---|---|
sid
|
このリソースを一意に識別する 34 文字の文字列です。 |
account_sid
|
The unique id of the Account that is responsible for this resource. |
friendly_name
|
このリソースの、人間が読みやすい形式の説明です。64 文字まで設定できます。 |
ip_address
|
トラッフィクを許可する10進数で且つドットで区切られたIPアドレス。TwilioはこのIPアドレスからのSIPリクエストを受け付けます。IPv4(バージョン4)のみサポートします。 |
cidr_prefix_length
|
An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |
ip_access_control_list_sid
|
The unique id of the IpAccessControlList resource that includes this resource. |
date_created
|
このリソースが生成された日付の GMT 表記です。 RFC 2822 フォーマットを使用します。 |
date_updated
|
DateUpdated | このリソースが最後に更新された日付の GMT 表記です。 RFC 2822 フォーマットを使用します。 |
uri
|
このリソースのURIで、右記のURLに対する相対パスです |
Create a SIP IpAddress resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
You can add up to 100 IP addresses to an IpAccessControlList.
ip_address
must be a complete IP address; wildcards are not supported.
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
ip_access_control_list_sid
Path
|
The IpAccessControlList Sid with which to associate the created IpAddress resource. |
friendly_name
必須
|
このリソースの、人間が読みやすい形式の説明です。64 文字まで設定できます。 |
ip_address
必須
|
トラッフィクを許可する10進数で且つドットで区切られたIPアドレス。TwilioはこのIPアドレスからのSIPリクエストを受け付けます。IPv4(バージョン4)のみサポートします。 |
cidr_prefix_length
オプション
|
An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |
例 1
Fetch a SIP IpAddress resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
ip_access_control_list_sid
Path
|
The IpAccessControlList Sid that identifies the IpAddress resources to fetch. |
sid
Path
|
A 34 character string that uniquely identifies the IpAddress resource to fetch. |
例 1
Read multiple SIP IpAddress resources
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
ip_access_control_list_sid
Path
|
The IpAccessControlList Sid that identifies the IpAddress resources to read. |
例 1
Update a SIP IpAddress resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
ip_access_control_list_sid
Path
|
The IpAccessControlList Sid that identifies the IpAddress resources to update. |
sid
Path
|
A 34 character string that identifies the IpAddress resource to update. |
ip_address
オプション
|
トラッフィクを許可する10進数で且つドットで区切られたIPアドレス。TwilioはこのIPアドレスからのSIPリクエストを受け付けます。IPv4(バージョン4)のみサポートします。 |
friendly_name
オプション
|
このリソースの、人間が読みやすい形式の説明です。64 文字まで設定できます。 |
cidr_prefix_length
オプション
|
An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |
例 1
Delete a SIP IpAddress resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json
An HTTP 204 response with no response body indicates successful deletion.
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
このリソースに関連するアカウントのユニーク ID です。 |
ip_access_control_list_sid
Path
|
The IpAccessControlList Sid that identifies the IpAddress resources to delete. |
sid
Path
|
A 34 character string that uniquely identifies the resource to delete. |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。