Skip to main content
POST
Create SSH key
Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Body

application/json
name
string
required

SSH key display name

Required string length: 1 - 128
Example:

"laptop"

public_key
string
required

One SSH public key, the whole line of a .pub file. Accepted types: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa (1024 bits or more) and the security key types sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com.

Example:

"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... user@host"

Response

SSH key created

success
boolean
data
object
Last modified on May 8, 2026