> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/storage/block-storage/how-tos/delete-a-block-storage-volume.md).

# Delete a block storage volume

Deleting a block storage volume will delete all data on it.

***

{% hint style="warning" %}
Before deleting a block storage volume, make sure to unmount and detach it first, following the guide [Detach a volume from a virtual machine](https://docs.glesys.com/products/storage/block-storage/how-tos/detach-a-volume-from-a-virtual-machine.md). Also, double-check the WWN to avoid deleting the wrong volume! Deleting a volume will delete ALL data on it, with no way to recover it!
{% endhint %}

## Delete a block storage volume using the control panel

Once you've made certain that you've unmounted and detached the volume, navigate to **Storage → Block storage** and click on the volume you want to delete.

On the volume's overview page, click **Actions** and select **Delete**.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FRBTa3aam8edeQFZimQMJ%2Fblock-storage-delete1.png?alt=media&amp;token=3e07a9f7-bb6c-411f-8540-58c7b8302a77" alt=""><figcaption></figcaption></figure>

In the confirmation dialog, type the name of the volume and click **Delete**. Note that deleting a volume will delete ALL data on it, with no way to recover it!

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2Fy2ZRwTnmiu0bvd5JmgqC%2Fblock-storage-delete2.png?alt=media&amp;token=70c71ab4-0651-42a0-b9e3-0bac594c774b" alt=""><figcaption></figcaption></figure>

## Delete a block storage volume using the API

Once you've made certain that you've unmounted and detached the volume, use the [blockstorage/delete](https://github.com/GleSYS/API-docs/wiki/API-Documentation#blockstoragedelete) endpoint to delete the volume using the [API](https://docs.glesys.com/platform/control-panel/api.md).
