All Products
Search
Document Center

Apsara File Storage NAS:DisableAndCleanRecycleBin

Last Updated:Mar 14, 2024

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

Operation description

  • Only General-purpose NAS file systems support this operation.
  • If you disable the recycle bin, all files in the recycle bin are permanently deleted.
  • If you disable and then enable the recycle bin, the recycle bin is empty. You cannot retrieve the deleted files.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FileSystemIdstringYes

The ID of the file system.

1ca404****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

9E15E394-38A6-457A-A62A-D9797C9A****

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
400IllegalCharactersThe parameter contains illegal characters.The parameter contains illegal characters.
400MissingFileSystemIdFileSystemId is mandatory for this action.-
403OperationDenied.RecycleBinDisabledThe operation is denied because the recycle bin is disabled.The operation is denied because the recycle bin is disabled.
404InvalidFileSystem.NotFoundThe specified file system does not exist.The specified file system does not exist.

For a list of error codes, visit the Service error codes.