Skip to main content
POST
/
tunnelkeys
Create a tunneling key
curl --request POST \
  --url https://dashboard.hologram.io/api/1/tunnelkeys \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "public_key": "ssh-rsa AAAAB3Nzaasdf... user@example.com"
}
'
{
  "success": true,
  "data": {
    "id": 1234,
    "public_key": "ssh-rsa AAAAB3Nzaasdf... user@example.com",
    "userid": 4321,
    "disabled": 0
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.hologram.io/llms.txt

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

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key.

You can find your API key on the Hologram Dashboard under Account Settings.

Body

application/json
public_key
string

SSH RSA public key. If omitted, a keypair is generated server-side and the private key is returned in the response.

Response

OK

data
object
success
boolean

Whether the request was successful or not

Example:

true