Deletes a snapshot or cancels a snapshot that is being created.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteSnapshot

The operation that you want to perform.

Set the value to DeleteSnapshot.

SnapshotId String Yes s-extreme-snapsho****

The ID of the snapshot.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The ID of the request.

The request ID is returned regardless of whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteSnapshot
&SnapshotId=s-extreme-snapsho****
&<Common request parameters>

Sample success responses

XML format

<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>

JSON format

{
    "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}

Error codes

For a list of error codes, visit the API Error Center.