Create a new IP Access Control List mapping
IP address lists for SIP calls
Create a new IP Access Control List mapping
Path parameters
-
The SID of the Account that will create the resource.
-
The SID of the SIP domain that will contain the new resource.
Body
-
The SID of the IpAccessControlList resource 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}/Auth/Calls/IpAccessControlListMappings.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/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",
"friendly_name": "string",
"sid": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"sid": "string"
}