Deleting a Storage Volume

If you delete a storage volume, then all the data and applications that were saved on that storage volume are lost.

You can delete the storage volumes that are not attached to any instances. To detach a storage volume from an instance, see Detaching a Storage Volume from an Instance.

  1. Log in to the UI and go to the Self Service Portal.
  2. In the Storage tab, select the storage volume that you want to delete.
  3. Click Delete.
  4. Confirm the delete action.

Deleting a Storage Volume Using the CLI or API

Use the following command to delete a storage volume:

oracle-compute delete storagevolume name

For more information, see CLI Reference for Oracle Compute Cloud Service.

To delete a storage volume using the API, use the DELETE https://api.oc.example.com/storage/volume/name method.

For more information, see REST API Reference for Oracle Compute Cloud Service.