Account
Account
AccountKeys
Create a New SSH Key
client.gpuDroplets.account.keys.create(KeyCreateParams { name, public_key } body, RequestOptionsoptions?): KeyCreateResponse { ssh_key }
/v2/account/keys
Delete an SSH Key
client.gpuDroplets.account.keys.delete(number | stringsshKeyIdentifier, RequestOptionsoptions?): void
/v2/account/keys/{ssh_key_identifier}
List All SSH Keys
client.gpuDroplets.account.keys.list(KeyListParams { page, per_page } query?, RequestOptionsoptions?): KeyListResponse { meta, links, ssh_keys }
/v2/account/keys
Retrieve an Existing SSH Key
client.gpuDroplets.account.keys.retrieve(number | stringsshKeyIdentifier, RequestOptionsoptions?): KeyRetrieveResponse { ssh_key }
/v2/account/keys/{ssh_key_identifier}
Update an SSH Key's Name
client.gpuDroplets.account.keys.update(number | stringsshKeyIdentifier, KeyUpdateParams { name } body, RequestOptionsoptions?): KeyUpdateResponse { ssh_key }
/v2/account/keys/{ssh_key_identifier}