Skip to main content
POST
Register an SSH public 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.

Example:

"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIexample ada@example.com"

Response

The key was registered.

id
string<uuid>

Unique identifier.

content
string

The public key, in OpenSSH format.

user_id
string<uuid>

Account the key belongs to.

created_at
string<date-time>

When the key was registered.