---
title: "编辑隧道"
method: POST
path: "/tunnel/edit"
tags: ["隧道管理"]
---

# 编辑隧道

`POST /tunnel/edit`

## Request body

- object
  - `id` integer, required — 隧道 ID
  - `note` string — 隧道备注
  - `local_ip` string — 本地 IP
  - `local_port` integer — 本地端口
  - `extra` string — 额外参数列表

## Response `200`

服务端处理后的参数

- object
  - `extra` string, required — 处理后的额外参数列表

## Other responses

- `500` — 通用错误返回

---

[API](https://skmtc.dev/natfrp/apis/sakurafrp-api.md) · [All operations](https://skmtc.dev/natfrp/apis/sakurafrp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/natfrp/sakurafrp-api/revisions/2caa73524824/schema)
