Skip to main content
PUT
/
network
/
tunnel
/
config
Update tunnel configuration
curl --request PUT \
  --url https://sbx-{sandbox_id}-{workspace_id}.{region}.bl.run/network/tunnel/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": "eyJsb2NhbF9pcCI6ICIxMC4wLjAuMS8zMiIsIC4uLn0="
}
'
{
  "message": "File created successfully",
  "path": "/path/to/file"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Base64-encoded tunnel configuration

config
string
required

Base64-encoded tunnel config JSON

Example:

"eyJsb2NhbF9pcCI6ICIxMC4wLjAuMS8zMiIsIC4uLn0="

Response

Configuration applied

message
string
required
Example:

"File created successfully"

path
string
Example:

"/path/to/file"