Skip to main content
PUT
Update a 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.

Path Parameters

id
string
required
Example:

"60c72b2f5f1b2c001c8e4b1a"

Body

application/json
name
string
Example:

"Updated Gateway Name"

config
object

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 updated successfully

message
string
Example:

"VPN configuration updated successfully"

vpnConfig
object