You can call this operation to delete a snapshot.

Description

If the specified snapshot ID does not exist, the request is ignored.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically 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.

RegionId String Yes cn-hangzhou

The ID of the region.

SnapshotId.N RepeatList Yes s-2ze81owrnv9pity4****

The ID of the snapshot.

Response parameters

Parameter Type Example Description
RequestId String 3EB7FCEE-D731-4948-85A3-4B2C341CA983

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DeleteSnapshot
&RegionId=cn-hangzhou
&SnapshotId.1=s-2ze81owrnv9pity4****
&<Common request parameters>

Sample success responses

XML format

<DeleteSnapshotResponse>
      <RequestId>3EB7FCEE-D731-4948-85A3-4B2C341CA983</RequestId>
</DeleteSnapshotResponse>

JSON format

{
    "RequestId":"3EB7FCEE-D731-4948-85A3-4B2C341CA983"
}

Error codes

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