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

Create an SIP IP access control list

Creates an IP access control list for an account. Provide a FriendlyName to identify the list; the response includes its generated SID and resource URI.

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

1 parameter · 1 body field
AccountSidstringrequired
The account identifier, in the format `AC` followed by 32 hexadecimal characters.

IP access control list details; FriendlyName is required.

FriendlyNamestringrequired
A human readable descriptive text that describes the IpAccessControlList, up to 255 characters long.

1 status code
201Returns the created IP access control list, including its SID, account identifier, friendly name, creation and update dates, associated IP address resource URI, 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

FriendlyName is required and can be up to 255 characters. The AccountSid path parameter must match the AC prefix followed by 32 hexadecimal characters.