Deletes a lifecycle 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 DeleteLifecyclePolicy

The operation that you want to perform.

Set the value to DeleteLifecyclePolicy.

FileSystemId String Yes 31a8e4****

The ID of the file system.

LifecyclePolicyName String Yes lifecyclepolicy1

The name of the lifecycle policy.

Response parameters

Parameter Type Example Description 
RequestId String BC7C825C-5F65-4B56-BEF6-98C56C7C546E

The ID of the request.

Success Boolean true

Indicates whether the operation was successful.

Valid values: true and false.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DeleteLifecyclePolicy
&FileSystemId=31a8e4****
&LifecyclePolicyName=lifecyclepolicy1
&<Common request parameters>

Sample success responses

XML format

<RequestId>BC7C825C-5F65-4B56-BEF6-98C56C7C546E</RequestId>
<Success>true</Success>

JSON format

{
    "RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C546E",
    "Success": true
}

Error codes

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