Create a CredentialListMapping resource for an account
Credential lists associated with a SIP Domain
Create a CredentialListMapping resource for an account.
Path parameters
-
The unique id of the Account responsible for this resource.
-
A 34 character string that uniquely identifies the SIP Domain for which the CredentialList resource will be mapped.
Body
-
A 34 character string that uniquely identifies 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}/CredentialListMappings.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/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",
"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"
}