Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

DeleteSnapshot

Description

Deletes a snapshot of an Amazon EBS volume.

[Note]Note

If you make periodic snapshots of a volume, the snapshots are incremental so that only the blocks on the device that have changed since your last snapshot are incrementally saved in the new snapshot. Even though snapshots are saved incrementally, the snapshot deletion process is designed so that you need to retain only the most recent snapshot in order to restore the volume.

Request Parameters

NameDescriptionRequired

SnapshotId

The ID of the Amazon EBS snapshot to delete.

Type: String

Default: None

Yes

Response Elements

The elements in the following table are wrapped in a DeleteSnapshotResponse structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

return

Returns true if the request succeeds. Otherwise, returns an error.

Type: xsd:boolean

Examples

Example Request

This example deletes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DeleteSnapshot
&SnapshotId.1=snap-78a54011
&AUTHPARAMS

Example Response

<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2011-05-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> 
  <return>true</return>
</DeleteSnapshotResponse>