メニュー

Expand
ページを評価:

CredentialPublicKey Resource

リソースURI

/Credentials/PublicKeys/

CredentialPublicKey properties

Resource Properties in REST API format
sid
sid<CR> Not PII

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

account_sid
sid<AC> Not PII

The SID of the Account that created the Credential that the PublicKey resource belongs to.

friendly_name
文字列 PII MTL: 0 DAYS

The string that you assigned to describe the resource.

date_created
date_time<iso8601> Not PII

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

date_updated
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

このリソースのURIで、右記のURLに対する相対パスです https://accounts.twilio.com

Create a CredentialPublicKey resource

post
https://accounts.twilio.com/v1/Credentials/PublicKeys
パラメーター
Parameters in REST API format
public_key
必須
post pem_public_key PII MTL: 0 DAYS

A URL encoded representation of the public key. For example, -----BEGIN PUBLIC KEY-----MIIBIjANB.pa9xQIDAQAB-----END PUBLIC KEY-----

friendly_name
オプション
post 文字列 PII MTL: 0 DAYS

A descriptive string that you create to describe the resource. It can be up to 64 characters long.

account_sid
オプション
post sid<AC> Not PII

The SID of the Subaccount that this Credential should be associated with. Must be a valid Subaccount of the account issuing the request

例 1
        
        
        

        Fetch a CredentialPublicKey resource

        GET
        https://accounts.twilio.com/v1/Credentials/PublicKeys/{Sid}
        パラメーター
        Parameters in REST API format
        sid
        Path
        GET sid<CR> Not PII

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

        例 1
              
              
              

              Read multiple CredentialPublicKey resources

              GET
              https://accounts.twilio.com/v1/Credentials/PublicKeys
              例 1
                    
                    
                    

                    Update a CredentialPublicKey resource

                    post
                    https://accounts.twilio.com/v1/Credentials/PublicKeys/{Sid}
                    パラメーター
                    Parameters in REST API format
                    sid
                    Path
                    post sid<CR> Not PII

                    The Twilio-provided string that uniquely identifies the PublicKey resource to update.

                    friendly_name
                    オプション
                    post 文字列 PII MTL: 0 DAYS

                    A descriptive string that you create to describe the resource. It can be up to 64 characters long.

                    例 1
                          
                          
                          

                          Delete a CredentialPublicKey resource

                          削除する
                          https://accounts.twilio.com/v1/Credentials/PublicKeys/{Sid}
                          パラメーター
                          Parameters in REST API format
                          sid
                          Path
                          削除する sid<CR> Not PII

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

                          例 1
                                
                                
                                
                                ページを評価:

                                ヘルプが必要ですか?

                                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 Community Forums or browsing the Twilio tag on Stack Overflow.

                                      
                                      
                                      

                                      フィードバックくださりありがとうございます!

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

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

                                      Thanks for your feedback!

                                      Refer us and get $10 in 3 simple steps!

                                      ステップ1

                                      Get link

                                      Get a free personal referral link here

                                      ステップ2:

                                      Give $10

                                      Your user signs up and upgrade using link

                                      ステップ3

                                      Get $10

                                      1,250 free SMSes
                                      OR 1,000 free voice mins
                                      OR 12,000 chats
                                      OR more