---
title: "DELETE /v1/orgs/:slug/sandboxes/:id — destroy a sandbox (stop if running, then delete)."
method: DELETE
path: "/v1/orgs/{slug}/sandboxes/{sandbox_id}"
tags: ["sandboxes"]
---

# DELETE /v1/orgs/:slug/sandboxes/:id — destroy a sandbox (stop if running, then delete).

`DELETE /v1/orgs/{slug}/sandboxes/{sandbox_id}`

## Path parameters

- `slug` string, required
- `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)
