Skip to content
  • Auto
  • Light
  • Dark

Keys

Keys

Create a New SSH Key
post/v2/account/keys
Delete an SSH Key
delete/v2/account/keys/{ssh_key_identifier}
List All SSH Keys
get/v2/account/keys
Retrieve an Existing SSH Key
get/v2/account/keys/{ssh_key_identifier}
Update an SSH Key's Name
put/v2/account/keys/{ssh_key_identifier}
ModelsExpand Collapse
SSHKeys = object { name, public_key, id, fingerprint }
name: string

A human-readable display name for this key, used to easily identify the SSH keys when they are displayed.

public_key: string

The entire public key string that was uploaded. Embedded into the root user's authorized_keys file if you include this key during Droplet creation.

id: optional number

A unique identification number for this key. Can be used to embed a specific SSH key into a Droplet.

fingerprint: optional string

A unique identifier that differentiates this key from other keys using a format that SSH recognizes. The fingerprint is created when the key is added to your account.