bhatti volume delete
Delete a persistent volume. Cannot be undone.
Synopsis
Section titled “Synopsis”bhatti volume delete <name> [-y]
Description
Section titled “Description”Removes the volume record from the database and deletes the underlying ext4 file.
The volume must be detached before deleting — if any sandbox has it mounted, the server returns 409 Conflict. Stop or destroy the sandbox first, then retry.
By default, prompts for confirmation. In a non-interactive shell without -y, the command refuses and exits 1.
Examples
Section titled “Examples”bhatti volume delete workspaceDelete volume "workspace"? [y/N]: ydeleted# Non-interactivebhatti volume delete workspace -y# Volume still attachedbhatti volume delete workspace -y409 Conflict: volume "workspace" attached to sandbox "dev"Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-y, --yes | false | Skip confirmation. |
See Global flags for --url, --token, --json, --timing, --data-dir.
See also
Section titled “See also”bhatti volume list— find current attachments- API:
DELETE /volumes/:name