メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

CredentialList Resource

The Credential Lists subresource represents the Credential List instances associated with this Trunk. If an INVITE is
received for a domain with a Credential List, 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 Credential Lists for the INVITE to be accepted.

This API will only allow you to list, add, and remove the Credential Lists associated with your Trunk. To create, remove, or list the Credential Lists in your account, check out the Credential List reference docs.

CredentialList properties

Names in PHP format
accountSid
sid<AC> Not PII

The SID of the Account that created the CredentialList resource.

sid
sid<CL> Not PII

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

trunkSid
sid<TR> Not PII

The SID of the Trunk the credential list in associated with.

friendlyName
文字列 Not PII

The string that you assigned to describe the resource.

dateCreated
date_time<iso8601> Not PII

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

dateUpdated
date_time<iso8601> Not PII

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

url
url Not PII

The absolute URL of the resource.

Create a CredentialList resource

post
https://trunking.twilio.com/v1/Trunks/{TrunkSid}/CredentialLists
パラメーター
Names in None format
trunk_sid
必須
post sid<TR> Not PII

The SID of the Trunk to associate the credential list with.

credential_list_sid
必須
post sid<CL> Not PII

The SID of the Credential List that you want to associate with the trunk. Once associated, we will authenticate access to the trunk against this list.

        
        
        
        

        Read multiple CredentialList resources

        GET
        https://trunking.twilio.com/v1/Trunks/{TrunkSid}/CredentialLists
        パラメーター
        Names in None format
        trunk_sid
        必須
        GET sid<TR> Not PII

        The SID of the Trunk from which to read the credential lists.

              
              
              
              

              Delete a CredentialList resource

              削除する
              https://trunking.twilio.com/v1/Trunks/{TrunkSid}/CredentialLists/{Sid}
              パラメーター
              Names in None format
              trunk_sid
              必須
              削除する sid<TR> Not PII

              The SID of the Trunk from which to delete the credential list.

              sid
              必須
              削除する sid<CL> Not PII

              The unique string that we created to identify the CredentialList resource to delete.

                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

                    誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。