Skip to main content
POST
Create SSH Key

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
ssh_key
string

The public SSH key to add (from .pub file)

Example:

"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC..."

Response

Success: {"success": true, "key": {ssh key object}}

success
boolean

Always true

key
object

The newly created SSH key record