Skip to main content
Delete a volume. This operation is permanent and cannot be undone.
Deleting a volume permanently removes all data stored in it. This action cannot be undone.

Path parameters

string
required
The unique ID of the volume to delete

Response

Returns a 204 No Content status on successful deletion.

Error responses

Volume not found with the specified ID
Volume is currently mounted to one or more sandboxes and cannot be deleted

Example request

Before deleting

Make sure to unmount the volume from all sandboxes before deletion:
  1. List all sandboxes using the volume
  2. Stop or delete those sandboxes
  3. Then delete the volume

Alternative: Get volume ID by name

If you only have the volume name, first get the volume details to find its ID: