Disables and empties the recycle bin of a specified General-purpose NAS file system.


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 DisableAndCleanRecycleBin

The operation that you want to perform.

Set the value to DisableAndCleanRecycleBin.

FileSystemId String Yes 1ca404****

The ID of the file system.

Response parameters

Parameter Type Example Description
RequestId String 9E15E394-38A6-457A-A62A-D9797C9A****

The ID of the request.


Sample requests

&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "9E15E394-38A6-457A-A62A-D9797C9A****"

Error codes

HttpCode Error code Error message Description
400 IllegalCharacters The parameter contains illegal characters. The error message returned because an invalid value is specified for a parameter.
400 MissingFileSystemId FileSystemId is mandatory for this action. The error message returned because the FileSystemId parameter is not specified.
403 OperationDenied.RecycleBinDisabled The operation is denied because the recycle bin is disabled. The error message returned because the request is denied due to the disabled recycle bin.
404 InvalidFileSystem.NotFound The specified file system does not exist. The error message returned because the specified file system does not exist.

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