Cancels the automatic snapshot policy for one or more disks.

Request parameters

Name Type Required Description
Action String Yes The name of this interface. Value: CancelAutoSnapshotPolicy.
RegionId String Yes The region ID of the automatic snapshot policy and the disks. For more information, call DescribeRegions to obtain the latest region list.
DiskIds String  Yes The disk ID. When you want to cancel the automatic snapshot policy for multiple disks, you can set the DiskIds to a JSON array in the format of ["d-xxxxxxxxx", "d-yyyyyyyyy", … "d-zzzzzzzzz"], and the IDs are separated by half-width commas (,).

Response parameters

All are common response parameters. For more information, see Common parameters.


Request example
&DiskIds=["d-233e6ylv0", "d-23vbpbi03", "d-23vasz3ds"]
&<Common Request Parameters>
Response example

XML format

JSON format

Error codes

Error codes specific to this interface are as follows. For more error codes, visit the API Error Center.

Error code Error message HTTP status code Description
ParameterInvalid The specified DiskIds are invalid. 404 The specified DiskIds are invalid.
ParameterInvalid The specified RegionId parameter is invalid. 404 The specified RegionId is invalid.