Deletes an automatic snapshot policy. You can apply an automatic snapshot policy to multiple file systems. After you delete the automatic snapshot policy, the associated file systems will no longer apply the automatic snapshot policy.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically 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-233e6ylv0

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-A3DC0DE3C83E

The ID of the request. This parameter is returned regardless of whether the operation is successful.

Examples

Sample requests


GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DeleteAutoSnapshotPolicy
&AutoSnapshotPolicyId=sp-extreme-6i0brwewjt0gfylh0
& <Common request parameters>
...

Sample success responses

JSON format

{
	"RequestId":"12FA778B-C8D3-4D2B-88AD-C10ED0326C57"
}

Error codes

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