Applies an automatic snapshot policy to file systems. If a file system has an automatic snapshot policy applied, you can call this API operation to change the automatic snapshot policy.


  • You can apply only one automatic snapshot policy to each file system.
  • An automatic snapshot policy can be applied to multiple file systems.


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 ApplyAutoSnapshotPolicy

The operation that you want to perform. Set the value to ApplyAutoSnapshotPolicy.

AutoSnapshotPolicyId String Yes sp-extreme-233e6ylv0

The ID of the automatic snapshot policy to apply.

FileSystemIds String Yes extreme-233e6ylv0,extreme -23vbpbi03,extreme -23vasz3ds

The IDs of file systems. You can specify a maximum of 100 IDs at a time. If you want to apply an automatic snapshot policy to multiple file systems, separate multiple IDs with commas (,).

Response parameters

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

The ID of the request.


Sample requests

& <Common request parameters>

Sample success responses

JSON format


Error codes

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