Skip to main content
POST
Add a network WireGuard 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.

Path Parameters

network_id
string<uuid>
required

Private network ID.

Body

application/json
public_key
string
required

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

Response

The config.

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.