Deletes a lifecycle management 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 management policy.

Response parameters

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

The ID of the request.

Success Boolean true

Indicates whether the request succeeds.

Valid values:

  • true: The request succeeded.
  • false: The request failed.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteLifecyclePolicy
&FileSystemId=31a8e4****
&LifecyclePolicyName=lifecyclepolicy1
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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