ec2-delete-volume
Syntax
ec2-delete-volume
volume_id
Description
Deletes the specified Amazon EBS volume.
Options
Option | Description | Required | |||
---|---|---|---|---|---|
volume_id | The ID of the Amazon EBS volume to delete.
Example: | Yes |
Output
Amazon EBS returns a table that contains the following information:
VOLUME identifier
ID of the volume you deleted
Amazon EBS displays errors on stderr
.
Example
This example deletes volume vol-4282672b
.
PROMPT>
ec2-delete-volume vol-4282672b
VOLUME vol-4282672b