POST
/
users
/
sshKeys
curl --request POST \
  --url https://api.vexelia.com/users/sshKeys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "key": "<string>"
}'

Authorizations

Authorization
string
header
required

Your API key goes here, you can generate one in your account settings.

Body

The SSH key data
label
string
required

The friendly label for the SSH key

Required string length: 3 - 64
key
string
required

The actual SSH key to install onto the server

Required string length: 3 - 4096

Response

200

The SSH key was created