ec2-delete-snapshot

Description

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.

Syntax

ec2-delete-snapshot snapshot_id

Options

NameDescriptionRequired

snapshot_id

The ID of the Amazon EBS snapshot to delete.

Type: String

Default: None

Example: snap-78a54011

Yes

Output

The command returns a table that contains the following information:

  • SNAPSHOT identifier

  • ID of the snapshot

Amazon EC2 displays errors on stderr.

Examples

Example Request

This example deletes snapshot snap-78a54011.

PROMPT> ec2-delete-snapshot snap-78a54011
SNAPSHOT snap-78a54011