Skip to main content
POST
Add a default-network WireGuard config
CLI equivalent: ornn vpn-connections configure <reservation-id> --name <name> --private-key <path> --output <path>. The CLI derives the public key locally and writes the completed config.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Body

application/json
public_key
string
required

Your WireGuard public key, 44 characters of base64. Never send the private key.

Response

The config. peer.status is active once the gateway applied it.

peer
object
network
object
config
string

WireGuard configuration. Replace the PrivateKey placeholder with your private key locally and store the file with owner-only permissions.