You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Auto snapshot policy
CancelAutoSnapshotPolicy - Remove auto snapshot policy
Copy page
Download PDF
CancelAutoSnapshotPolicy - Remove auto snapshot policy
Use CancelAutoSnapshotPolicy to remove the auto snapshot policy for one or more volumes​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
request parameters​
Below are request parameters unique to this API and some common parameters For more information, see Common Parameters​
Action string required Example: CancelAutoSnapshotPolicy​
Operation to perform: CancelAutoSnapshotPolicy.​
​
Version string required Example value: 2020-04-01​
The version of the API is: 2020-04-01.​
​
AutoSnapshotPolicyId string required Example: asp-3vke5nbvug3hhwzz****​
Automatic snapshot policy ID.​
​
VolumeIds.N string[] required Example: VolumeIds.1=vol-3tiz8tg97u3vj0x0**** VolumeIds.2=vol-3tj20xxpd63vj0wy****​
The ID(s) of the volume(s) for which you want to cancel the automatic snapshot policy. You can specify one or more IDs.​
​
​
​
Response Parameters​
This API has no unique response parameters For more information, see Response Structure​
Request example​
​
POST /?Action=CancelAutoSnapshotPolicy&Version=2020-04-01&VolumeIds.1=VolumeIds.1%3Dvol-3tiz8tg97u3vj0x0****VolumeIds.2%3Dvol-3tj20xxpd63vj0wy**** HTTP/1.1​
Host: open.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20251124T032512Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251124/cn-beijing/storage_ebs/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"AutoSnapshotPolicyId": "asp-********"​
}​
​
Back to example​
​
{​
"ResponseMetadata": {​
"RequestId": "20251124112517068106179177A1****",​
"Action": "CancelAutoSnapshotPolicy",​
"Version": "2020-04-01",​
"Service": "storage_ebs",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
error code​
The table below lists error codes related to this API and its business logic. For public error codes, refer to the Public Error Codes documentation.​
​
Status code​
error code​
error message​
Create Volume​
400​
ErrInvalidVolumeId​
The specified volume ID is invalid.​
The specified volume ID is invalid.​
400​
AccountIdNotMatched​
The specified account ID does not match.​
User ID does not match.​
400​
InvalidParameters​
The request has invalid parameters.​
The request contains invalid parameters.​
404​
VolumeNotFound​
The specified volume does not exist.​
Volume does not exist.​
404​
ErrResourceNotFound​
resource not found​
Resource not found.​
404​
AutoSnapshotPolicyNotFound​
The automatic snapshot policy is not found.​
No automatic snapshot policy found.​
500​
InternalError​
An internal error has occurred.​
Internal error. Please try again. If several attempts fail, submit a support ticket.​
​
​
Last updated: 2026.01.09 18:19:56