| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes a snapshot of an Amazon EBS volume.
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.
SnapshotIdThe ID of the Amazon EBS snapshot.
Type: String
Default: None
Required: Yes
The following elements are returned in a
DeleteSnapshotResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example deletes snapshot snap-1a2b3c4d.
https://ec2.amazonaws.com/?Action=DeleteSnapshot &SnapshotId.1=snap-1a2b3c4d &AUTHPARAMS
<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteSnapshotResponse>