Skip to main content
POST
Add an SSH Key

Authorizations

Authorization
string
header
required

API token from Dashboard > Settings > API Tokens.

Body

application/json

An SSH public key to save.

name
string
required
Required string length: 1 - 255
public_key
string
required

One OpenSSH public key line. Types: ssh-ed25519, ssh-rsa, ecdsa-sha2-nistp256/384/521, ssh-dss, sk-ssh-ed25519@openssh.com, sk-ecdsa-sha2-nistp256@openssh.com.

Required string length: 1 - 8192

Response

Successful Response

id
string<uuid>
required
name
string
required
fingerprint
string
required
created_at
string<date-time>
required