- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Snapshot
Auto snapshot policy
DeleteAutoSnapshotPolicy - Delete automatic snapshot policy
Auto snapshot policy
DeleteAutoSnapshotPolicy - Delete automatic snapshot policy
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
Back to example
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. Last updated: 2026.01.09 18:19:56