Deletes an automatic snapshot policy.

Description

If you delete an automatic snapshot policy that is applied to a file system, snapshots for the file system are no longer created based on the policy.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteAutoSnapshotPolicy

The operation that you want to perform.

Set the value to DeleteAutoSnapshotPolicy.

AutoSnapshotPolicyId String Yes sp-extreme-233e6****

The ID of the automatic snapshot policy.

You can call the DescribeAutoSnapshotPolicies operation to view available automatic snapshot policies.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The ID of the request.

The request ID is returned regardless of whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteAutoSnapshotPolicy
&AutoSnapshotPolicyId=sp-extreme-233e6****
&<Common request parameters>

Sample success responses

XML format

<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>

JSON format

{
    "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}

Error codes

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