API reference · Schema
CreateSshKeyRequest
namestringDefaults to the key's comment
1–100 characters
public_keystringrequiredOne OpenSSH public key line
1–16384 characters
Example
{
"name": "laptop",
"public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHZG+FGe8of8lnaS3zftZ6bPg69OKrEd9xvDOWK5wqx0 laptop"
}Used by
- Add an SSH public key
POST /v1/ssh-keys