Delete an EBS Volume from AWS CLI

Use the below command to delete an EBS volume that is ‘available’ (i.e) not attached to any EC2 Instance.

delete-volume --volume-id VOLUMEID
See also  How to print only file names from an S3 bucket