AccountsV1PublicKey

Create a new Public Key Credential

Changed on

Create a new Public Key Credential

post/v1/Credentials/PublicKeys

Request

  • Base URL
    https://accounts.twilio.com
  • URL
    https://accounts.twilio.com/v1/Credentials/PublicKeys
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

PublicKeystring required

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

FriendlyNamestring

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

AccountSidstring

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

Response

Created

sidstring nullable

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

account_sidstring nullable

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

friendly_namestring nullable

The string that you assigned to describe the resource.

date_createdstring date-time nullable

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

date_updatedstring date-time nullable

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

urlstring uri nullable

The URI for this resource, relative to https://accounts.twilio.com

Changes