Menu

Expand
Rate this page:

SIP Domain Registration CredentialListMapping Resource

The SIP Domain Registration CredentialListMappings subresource represents the CredentialList instances associated with this domain's registration.

If a domain registration is received for a domain with a Credential List mapped to it, Twilio will challenge the request. Your system will need to authenticate with a username and password. The username and password must be in one of the mapped lists for the registration to be accepted

SIP Domain Registration CredentialListMapping properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the CredentialListMapping resource.

date_created
date_time<rfc2822> Not PII

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

date_updated
date_time<rfc2822> Not PII

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

friendly_name

The string that you assigned to describe the resource.

sid
sid<CL> Not PII

The unique string that that we created to identify the CredentialListMapping resource.

Create a SIP Domain Registration CredentialListMapping resource

post
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
Parameters
Parameters in REST API format
account_sid
Path
post sid<AC> Not PII

The SID of the Account that will create the resource.

domain_sid
Path
post sid<SD> Not PII

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

credential_list_sid
Required
post sid<CL> Not PII

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

Example 1
Loading Code Sample...
        
        

        Create Auth Registrations Credential List Mapping

        Fetch a SIP Domain Registration CredentialListMapping resource

        get
        https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
        Parameters
        Parameters in REST API format
        account_sid
        Path
        get sid<AC> Not PII

        The SID of the Account that created the CredentialListMapping resource to fetch.

        domain_sid
        Path
        get sid<SD> Not PII

        The SID of the SIP domain that contains the resource to fetch.

        sid
        Path
        get sid<CL> Not PII

        The Twilio-provided string that uniquely identifies the CredentialListMapping resource to fetch.

        Example 1
        Loading Code Sample...
              
              

              Fetch Auth Registrations Credential List Mapping

              Read a SIP Domain Registration CredentialListMapping resource

              get
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
              Parameters
              Parameters in REST API format
              account_sid
              Path
              get sid<AC> Not PII

              The SID of the Account that created the CredentialListMapping resources to read.

              domain_sid
              Path
              get sid<SD> Not PII

              The SID of the SIP domain that contains the resources to read.

              Example 1
              Loading Code Sample...
                    
                    

                    Read Auth Registrations Credential List Mapping

                    Delete a SIP Domain Registration CredentialListMapping resource

                    delete
                    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
                    Parameters
                    Parameters in REST API format
                    account_sid
                    Path
                    delete sid<AC> Not PII

                    The SID of the Account that created the CredentialListMapping resources to delete.

                    domain_sid
                    Path
                    delete sid<SD> Not PII

                    The SID of the SIP domain that contains the resources to delete.

                    sid
                    Path
                    delete sid<CL> Not PII

                    The Twilio-provided string that uniquely identifies the CredentialListMapping resource to delete.

                    Example 1
                    Loading Code Sample...
                          
                          

                          Delete Auth Registrations Credential List Mapping

                          Rate this page:

                          Need some help?

                          We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

                          Loading Code Sample...
                                
                                
                                

                                Thank you for your feedback!

                                Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                                Sending your feedback...
                                🎉 Thank you for your feedback!
                                Something went wrong. Please try again.

                                Thanks for your feedback!

                                thanks-feedback-gif