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>"
}

Documentation Index

Fetch the complete documentation index at: https://www.thundercompute.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Provide your API token prefixed with "Bearer ", e.g. "Bearer your-api-token".

Body

application/json

SSH key add request

The body is of type object.

Response

OK

key
object
message
string