Create a new credential list mapping resource

POST /2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json

Credential lists for SIP registrations

Create a new credential list mapping resource

Path parameters

  • AccountSid string Required

    The SID of the Account that will create the resource.

  • DomainSid string Required

    The SID of the SIP domain that will contain the new resource.

application/x-www-form-urlencoded

Body

  • CredentialListSid string Required

    The SID of the CredentialList resource to map to the SIP domain.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CL[0-9a-fA-F]{32}$.

Responses

  • 201

    Created

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • date_created string(date-time-rfc-2822) | null

      The RFC 2822 date and time in GMT that the resource was created

    • date_updated string(date-time-rfc-2822) | null

      The RFC 2822 date and time in GMT that the resource was last updated

    • friendly_name string | null

      The string that you assigned to describe the resource

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. 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"
}
Response examples (201)
{
  "account_sid": "string",
  "date_created": "string",
  "date_updated": "string",
  "friendly_name": "string",
  "sid": "string"
}