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

Elastic Compute Service

Copy page
Download PDF
Auto snapshot policy
DeleteAutoSnapshotPolicy - Delete automatic snapshot policy
Copy page
Download PDF
DeleteAutoSnapshotPolicy - Delete automatic snapshot policy
Use the DeleteAutoSnapshotPolicy API to delete an automatic snapshot policy.​
precautions​
  • If the target automatic snapshot policy has been applied to volumes, deleting the policy stops those volumes from executing it.​
  • After deleting the automatic snapshot policy, existing automatic snapshots are not affected.​
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​
Only the unique request parameters for this API and some common parameters are listed below. For more information, see Common Parameters.​
Action string requiredExample value: DeleteAutoSnapshotPolicy​
The operation to perform: DeleteAutoSnapshotPolicy.​
​
Version string required Example value: 2020-04-01​
The version of the API is: 2020-04-01.​
​
AutoSnapshotPolicyId string required Example value: asp-anj249wubz9kakc8****​
The automatic snapshot policy ID to be deleted.​
​
​
​
Response Parameters​
This API does not have specific return parameters. For more information, see Return Structure.​
Request example​
​
GET /?Action=DeleteAutoSnapshotPolicy&AutoSnapshotPolicyId=asp-anj249wubz9kakc8****&Version=2020-04-01 HTTP/1.1​
Host: open.volcengineapi.com​
Region: cn-beijing​
ServiceName: storage_ebs​
​
Back to example​
​
{​
"ResponseMetadata": {​
"RequestId": "2022050519544301021215003413BD****",​
"Action": "DeleteAutoSnapshotPolicy",​
"Version": "2020-04-01",​
"Service": "storage_ebs",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
error code​
The table below lists error codes related to this API and business logic. For common error codes, see the Public Error Codes documentation.​
​
Status code​
error code​
error message​
Create Volume​
400​
InvalidRequest​
The operation is not permitted due to the request is invalid.​
Invalid request.​
400​
AccountIdNotMatched​
The specified account ID does not match.​
User ID does not match.​
500​
InternalError​
An internal error has occurred.​
Internal error. Try again. If the problem persists after multiple attempts, submit a ticket.​
​
Last updated: 2026.01.09 18:19:56