Deletes a snapshot of an Amazon EBS volume that you own. For more information, go to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.
ec2-delete-snapshot
snapshot_id
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Amazon EBS snapshot to delete. Type: String Default: None Example: snap-78a54011 |
Yes |
The command returns a table that contains the following information:
SNAPSHOT identifier
ID of the snapshot
Amazon EC2 displays errors on stderr.
This example deletes snapshot snap-78a54011.
PROMPT>ec2-delete-snapshot snap-78a54011SNAPSHOT snap-78a54011