GET https://www.allnodes.com/api/v1/ssh-key
GET
https://www.allnodes.com/api/v1/ssh-key
This endpoint allows to get list of all your ssh keys.
Authorization*
string
Bearer TOKEN
{ sshKeys: [ { id: number; alias: string; publicKey: string; } ] }
POST https://www.allnodes.com/api/v1/ssh-key
POST
This endpoint allows to add a new ssh key.
Body
alias
Alias of your SSH Key
publicKey
SSH Public Key
DELETE https://www.allnodes.com/api/v1/ssh-key/{id}
DELETE
https://www.allnodes.com/api/v1/ssh-key/{id}
This endpoint allows you to remove a ssh key.
id*
SSH Key you want to remove. ID can be extracted from the “Get all SSH Keys” call
Last updated 5 months ago
{ sshKey: { id: number; alias: string; publicKey: string; } }
{ error: "NOT_REGISTERED"; description?: string; }