Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Headers

Accept-Language
string

Preferred language of error texts. Supported: en, fr, de, ru, es, pt, zh, ja, ko, tr, az. Anything else, or no header, gives en.

Maximum string length: 256
Example:

"de-DE,de;q=0.9,en;q=0.8"

Body

application/json
name
string
required

User-defined name for the SSH key

Example:

"my-production-key"

public_key
string
required

The SSH public key content (ssh-rsa or ssh-ed25519 format)

Example:

"ssh-rsa AAAAB3NzaC1yc2EAAA... user@example.com"

Response

SSHKeyV4

created_at
string<date-time>
required

ISO 8601 timestamp when the SSH key was created

Example:

"2025-08-05T09:15:00Z"

id
integer<int64>
required

Unique identifier for the SSH key

Example:

123

name
string
required

User-defined name for the SSH key

Example:

"my-production-key"

public_key
string
required

The SSH public key content

Example:

"ssh-rsa AAAAB3NzaC1yc2EAAA... user@example.com"