v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
network

Update tunnel configuration

Apply a new tunnel configuration on the fly. The existing tunnel is torn down and a new one is established. This endpoint is write-only; there is no corresponding GET to read the config back.

put/network/tunnel/config

Request body

configstring required

Base64-encoded tunnel config JSON

Example request

{
  "config": "eyJsb2NhbF9pcCI6ICIxMC4wLjAuMS8zMiIsIC4uLn0="
}

Response

Configuration applied

messagestring required
pathstring

Example response

{
  "message": "File created successfully",
  "path": "/path/to/file"
}