Skip to main content
POST
Create a new VPN configuration

Authorizations

Authorization
string
header
required

Personal Access Token (PAT) passed in the Authorization header (e.g., Bearer <pat>) for authenticated API requests. PATs are generated via /auth/generate-pat after authenticating through the magic link flow.

Body

application/json
name
string
required
Example:

"US East Gateway"

config
object
required

Configuration document for a VPN server. Additional keys are stored and returned unchanged. The commands and private sections are required for certificate issuance and user statistics to work.

Response

VPN configuration created successfully

message
string
Example:

"VPN configuration created successfully"

vpnConfig
object