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.
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.