---
title: "DELETE /v1/sandboxes/:id — destroy a sandbox (API key, org inferred from key)."
method: DELETE
path: "/v1/sandboxes/{sandbox_id}"
tags: ["sandboxes"]
---

# DELETE /v1/sandboxes/:id — destroy a sandbox (API key, org inferred from key).

`DELETE /v1/sandboxes/{sandbox_id}`

Stop and permanently destroy a sandbox.

## Path parameters

- `sandbox_id` string, uuid, required

## Response `200`

Sandbox destroyed

- MessageResponse — Simple message response for operations without a body.
  - `message` string, required

## Other responses

- `401` — Unauthorized
- `404` — Sandbox not found
- `502` — Sandbox orchestrator unreachable

---

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