v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19273210655.1 KB
SSH Keys

Create server SSH key

Add a new SSH key to the server.

Processing mode: <small><code>async</code></small>

post/orgs/{organization}/servers/{server}/ssh-keys

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

Request body

namestring required

The name of the SSH key.

keystring required

The public SSH key.

userstring nullable

The user associated with the SSH key.

Example request

{
  "name": "oliver-macbook",
  "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5A... user@example.com",
  "user": "username"
}

Response

Adding SSH key to server accepted