Skip to main content
POST
/
v1
/
vps
/
ssh-keys
Add SSH key
curl --request POST \
  --url https://api.waterfall.host/v1/vps/ssh-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "publicKey": "<string>"
}
'

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Body

application/json
name
string
required
publicKey
string
required

Response

200

SSH key added