v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
SSH Keys

Add SSH key

Validates and stores an SSH public key. Minimum RSA 2048-bit, Ed25519 recommended.

post/api/v1/user/ssh-keys

Request body

namestring required

Human-readable name for the key

public_keystring required

OpenSSH format public key

Response

Key created

idstring required

Key hashid

user_idstring required

Owner user hashid

namestring required

Human-readable name

public_keystring required

OpenSSH format public key

fingerprintstring required

SHA256 fingerprint

key_typestring required

Algorithm (ed25519, rsa, etc)

sourcestring required

Origin: manual or github

key_metadataobject nullable

Extra data like bit length

last_synced_atstring nullable

Last GitHub sync timestamp

created_atstring required

Creation timestamp

updated_atstring required

Last update timestamp