Skip to main content
POST
Register an SSH key

Authorizations

Authorization
string
header
required

An API key issued by Hive Compute support. See Authentication above for how to request one.

Body

application/json
content
string
required

The public key, in OpenSSH format.

Maximum string length: 8192
Example:

"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIETCectK27yhdmuct8RFCynCjeWek5/ShKk6ISJZFSx+ you@laptop"

Response

The key was registered.

id
string<uuid>
content
string

The public key, as registered.

created_at
string<date-time> | null