Before deleting a volume, ensure that it is not attached to any running vServers.
To delete a volume, complete the following steps:
./iaas-delete-volume --base-url https://<localhost>/ -a ak.file --volume-id VOL-f23a8ba1-ec55-4159-bbdf-de220d18a1c4
The command deletes the specified volume. The command does not return any value; only the command prompt is displayed.
./iaas-describe-volumes --base-url https://<localhost>/ -a ak.file --ids VOL-f23a8ba1-ec55-4159-bbdf-de220d18a1c4
This command should return empty output, as the specified volume is deleted.
Scripting on this page enhances content navigation, but does not change the content in any way.