POST/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json

Rename an IP access control list

Updates the name of an IP access control list associated with an account. Submit FriendlyName to set the human-readable name, which can be up to 255 characters. Use the account and list identifiers to select the resource to update.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters · 1 body field
AccountSidstringrequired
The account identifier, in the format `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The IP access control list identifier, in the format `AL` followed by 32 hexadecimal characters.

Form-encoded IP access control list name update.

FriendlyNamestringrequired
A human readable descriptive text, up to 255 characters long.

1 status code
200Returns the updated IP access control list, including its identifiers, friendly name, creation and update dates, associated IP address resource URIs, and resource URI.
sidstringoptional
A 34 character string that uniquely identifies this resource.
account_sidstringoptional
The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource.
friendly_namestringoptional
A human readable descriptive text, up to 255 characters long.
date_createdstringoptional
The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
date_updatedstringoptional
The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
subresource_urisobjectoptional
A list of the IpAddress resources associated with this IP access control list resource.
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`

Error handling

The AccountSid path parameter must be a 34-character account identifier beginning with AC and followed by 32 hexadecimal characters, and the Sid path parameter must be a 34-character list identifier beginning with AL and followed by 32 hexadecimal characters. When you submit a request body, include FriendlyName; its value can be up to 255 characters.