Create a new credential list mapping resource
Credential lists for SIP registrations
Create a new credential list mapping resource
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 CredentialList resource to map to the SIP domain.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CL[0-9a-fA-F]{32}$
.
POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'CredentialListSid=string'
Request example
{
"CredentialListSid": "string"
}
Request examples
{
"CredentialListSid": "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"
}