Skip to main content
POST
Add an SSH key

Authorizations

Authorization
string
header
required

Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.

Body

application/json
publicKey
string
required

One OpenSSH public key line, e.g. "ssh-ed25519 AAAA… user@host".

name
string
Maximum string length: 100

Response

Key added.

success
boolean
required
data
object
required