IBM Cloud Docs
Why can't I delete the volume by its name or ID with the API or the CLI?

Why can't I delete the volume by its name or ID with the API or the CLI?

You can't delete a Block Storage volume by name or ID.

The volume name and ID are not accepted.

Verify that the volume name or identifier is correct and that the volume is not attached to a virtual server instance. Also, verify that the volume is not in a pending state.