Deleting a Block Volume

Delete a block volume from the Block Volume service when it's no longer needed.

Caution

  • You can't undo this operation. When you delete a volume, any data on the volume is permanently deleted.
  • All policy-based backups eventually expire, so if you want to keep a backup of the volume indefinitely, create a manual backup of the volume before you delete it. See Manually Backing Up a Volume and Block Volume Backups.
    1. On the Block Volumes list page, find the block volume that you want to delete. If you need help finding the list page or the volumes, see Listing Volumes.

    2. From the Actions menu (three dots), select Terminate.
    3. In the confirmation dialog box, select Terminate.
  • Use the oci bv volume delete command and required parameters to delete a block volume:

    oci bv volume delete --volume-id volume_ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteVolume operation and specify the volumeId attribute to delete a block volume.