Update ip record
IP Records hold information about the IP addresses and ranges (CIDR blocks) that your traffic will be associated with.
Path parameters
-
The Twilio-provided string that uniquely identifies the IP Record resource to update.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IL[0-9a-fA-F]{32}$
.
POST
/v1/IpRecords/{Sid}
curl \
--request POST 'https://voice.twilio.com/v1/IpRecords/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'FriendlyName=update_name'
Request example
{"FriendlyName"=>"update_name"}
Response examples (200)
{
"sid": "ILaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://voice.twilio.com/v1/IpRecords/ILaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"ip_address": "10.2.3.4",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2020-03-18T23:31:36Z",
"date_updated": "2020-03-18T23:31:37Z",
"friendly_name": "update_name",
"cidr_prefix_length": 30
}