Skip to main content
POST
Add SSH key

Body

application/json

Request model for creating an SSH key.

name
string
required

Human-readable name for the key

Required string length: 1 - 100
public_key
string
required

OpenSSH format public key

Response

Key created

SSH key details returned by API.

id
string
required

Key hashid

user_id
string
required

Owner user hashid

name
string
required

Human-readable name

public_key
string
required

OpenSSH format public key

fingerprint
string
required

SHA256 fingerprint

key_type
string
required

Algorithm (ed25519, rsa, etc)

source
string
required

Origin: manual or github

created_at
string
required

Creation timestamp

updated_at
string
required

Last update timestamp

key_metadata
Key Metadata · object | null

Extra data like bit length

last_synced_at
string | null

Last GitHub sync timestamp