SourceIpMapping Resource
The SourceIpMappings
resource describes the publicly-routable Static IP addresses that can be used to receive Termination traffic from a BYOC Carrier.
This resource requires that the Account has a Twilio Interconnect connection configured.
SourceIpMapping properties
Resource Properties in REST API format | |
---|---|
sid
|
The unique string that we created to identify the IP Record resource. |
ip_record_sid
|
The Twilio-provided string that uniquely identifies the IP Record resource to map from. |
sip_domain_sid
|
The SID of the SIP Domain that the IP Record is mapped to. |
date_created
|
The date and time in GMT that the resource was created specified in RFC 2822 format. |
date_updated
|
The date and time in GMT that the resource was last updated specified in RFC 2822 format. |
url
|
The absolute URL of the resource. |
Create a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings
パラメーター
Parameters in REST API format | |
---|---|
ip_record_sid
必須
|
The Twilio-provided string that uniquely identifies the IP Record resource to map from. |
sip_domain_sid
必須
|
The SID of the SIP Domain that the IP Record should be mapped to. |
例 1
Fetch a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
パラメーター
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to fetch. |
例 1
Read multiple SourceIpMapping resources
https://voice.twilio.com/v1/SourceIpMappings
例 1
Update a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
パラメーター
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to update. |
sip_domain_sid
必須
|
The SID of the SIP Domain that the IP Record should be mapped to. |
例 1
Delete a SourceIpMapping resource
https://voice.twilio.com/v1/SourceIpMappings/{Sid}
パラメーター
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to delete. |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。