---
title: "Delete a volume"
method: DELETE
path: "/volumes/{volumeId}"
tags: ["Volumes"]
---

# Delete a volume

`DELETE /volumes/{volumeId}`

Hard-deletes the volume. The underlying disk and all data on it are
destroyed, irreversible.

Fails with `400 "Volume is attached; detach it before deleting"` if the
volume is currently attached to a sandbox or project. Detach the volume
first (destroy the sandbox or detach via the project flow), then delete.

## Path parameters

- `volumeId` string, required

## Response `204`

Volume deleted

## Other responses

- `400` — Validation error / invalid state transition
- `404` — Sandbox or related resource not found (also returned when owned by another user)

---

[API](https://skmtc.dev/brimblehq/apis/brimble-sandbox-api.md) · [All operations](https://skmtc.dev/brimblehq/apis/brimble-sandbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brimblehq/brimble-sandbox-api/revisions/7fe2df041597/schema)
