---
title: "Update tunnel configuration"
method: PUT
path: "/network/tunnel/config"
tags: ["network"]
---

# Update tunnel configuration

`PUT /network/tunnel/config`

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.

## Request body

- TunnelConfigRequest
  - `config` string, required — Base64-encoded tunnel config JSON

## Response `200`

Configuration applied

- SuccessResponse
  - `message` string, required
  - `path` string

## Other responses

- `400` — Invalid request body
- `422` — Invalid tunnel configuration
- `500` — Failed to apply configuration

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/revisions/dfa264bc72ee/schema)
