Create a new IpAccessControlListMapping resource
Access control lists associated with a SIP Domain
Create a new IpAccessControlListMapping resource.
Path parameters
-
The unique id of the Account that is responsible for this resource.
-
A 34 character string that uniquely identifies the SIP domain.
Body
-
The unique id of the IP access control list to map to the SIP domain.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AL[0-9a-fA-F]{32}$
.
POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'IpAccessControlListSid=string'
Request example
{
"IpAccessControlListSid": "string"
}
Request examples
{
"IpAccessControlListSid": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"domain_sid": "string",
"friendly_name": "string",
"sid": "string",
"uri": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"domain_sid": "string",
"friendly_name": "string",
"sid": "string",
"uri": "https://example.com"
}