IpRecord Resource
The IpRecord
resource describe Static IP addresses used to address the BYOC Trunk's Termination SIP Domain via an IP Address instead of an FQDN (Fully Qualified Domain Name).
The IP Address used in this resource must be a subset of a Twilio Interconnect connection configured on the same Account.
IpRecord properties
Resource Properties in REST API format | |
---|---|
account_sid
|
The SID of the Account that created the IP Record resource. |
sid
|
The unique string that we created to identify the IP Record resource. |
friendly_name
|
The string that you assigned to describe the resource. |
ip_address
|
An IP address in dotted decimal notation, IPv4 only. |
cidr_prefix_length
|
An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32. |
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 an IpRecord resource
https://voice.twilio.com/v1/IpRecords
Parameters
Parameters in REST API format | |
---|---|
ip_address
Required
|
An IP address in dotted decimal notation, IPv4 only. |
friendly_name
Optional
|
A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long. |
cidr_prefix_length
Optional
|
An integer representing the length of the CIDR prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32. |
Example 1
Fetch an IpRecord resource
https://voice.twilio.com/v1/IpRecords/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to fetch. |
Example 1
Read multiple IpRecord resources
https://voice.twilio.com/v1/IpRecords
Example 1
Update an IpRecord resource
https://voice.twilio.com/v1/IpRecords/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to update. |
friendly_name
Optional
|
A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long. |
Example 1
Delete an IpRecord resource
https://voice.twilio.com/v1/IpRecords/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The Twilio-provided string that uniquely identifies the IP Record resource to delete. |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.