This API deletes the specified snapshot. If the snapshot being created (or not 100% completed) needs to be canceled, this API can be called to delete the snapshot (or canceling the creation of the snapshot).
If the snapshot with a specified ID does not exist, the request is ignored.
If a snapshot has been used to create a custom image, the snapshot cannot be deleted. The snapshot can only be deleted after the appropriate custom image is deleted.
|Action||String||Yes||Required parameter, value: DeleteSnapshot.|
The return parameters are all common response parameters. For more information, see Common parameters.
|Error code||Error message||HTTP status code||Meaning|
|SnapshotCreatedImage||The snapshot has been used to create user defined image(s).||403||The specified snapshot has already been used to create a custom image.|
|SnapshotCreatedDisk||The snapshot has been used to create disk(s).||403||The specified snapshot has already been used to create a disk.|
|MissingParameter||The input parameter SnapshotId that is mandatory for processing this request is not supplied.||400||The required parameter SnapshotId is missing.|
&<Common Request Parameters>