CLIBlock Storage
hudl volume delete <id>
Permanently destroy a volume. The volume must be detached first.
Permanently destroy a volume. The volume must be detached first. If the volume is still attached to a VM, detach it before deleting.
Usage
hudl volume delete <id> [flags]Common flags
| Flag | Description |
|---|---|
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Delete a volume:
hudl volume delete vol-abc123Detach then delete in sequence:
hudl volume detach vol-abc123 && hudl volume delete vol-abc123API reference
This command calls DELETE /volumes/{id} under the hood. See the full request and response schema in the API reference.