Skip to main content
POST
/
keys
/
add
Add an SSH key
curl --request POST \
  --url https://api.thundercompute.com:8443/v1/keys/add \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "key": {
    "name": "<string>",
    "public_key": "<string>",
    "created_at": 123,
    "fingerprint": "<string>",
    "id": "<string>",
    "key_type": "<string>"
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

SSH key add request

The body is of type object.

Response

OK

key
object
message
string