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

Rename an IP access control list

Updates the name of a specific IP access control list for an account. Submit the new FriendlyName as form data while supplying both resource identifiers in the path.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters · 1 body field
AccountSidstringrequired
The unique identifier of the account responsible for the IP access control list. Must be a 34-character SID matching `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The unique identifier of the IP access control list to update. Must be a 34-character SID matching `AL` followed by 32 hexadecimal characters.

Form data containing the new name for the IP access control list.

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 timestamps, associated IP address resource URI map, 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

AccountSid must be a 34-character account SID matching AC followed by 32 hexadecimal characters, and Sid must be a 34-character list SID matching AL followed by 32 hexadecimal characters. FriendlyName must be provided and must be a human-readable description of no more than 255 characters.