---
title: "Remove a tunnel from the Devbox."
method: POST
path: "/v1/devboxes/{id}/remove_tunnel"
tags: ["Devbox", "Devbox-NetworkTools"]
---

# Remove a tunnel from the Devbox.

`POST /v1/devboxes/{id}/remove_tunnel`

Remove an existing V2 tunnel from the Devbox.

## Path parameters

- `id` string, required

## Response `200`

OK

- EmptyRecord

## Other responses

- `404` — Devbox not found.

## Changes

- **2026-03-24** `32e4b2dfb757` — 1 breaking, 2 info
  - removed the request body
  - endpoint reactivated
  - removed the non-success response with the status `400`
- **2026-01-30** `84e997ca5716` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/devboxes/:id/remove_tunnel/post.md)

---

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