Disables and empties the recycle bin of a specified General-purpose NAS file system.
Debugging
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. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DisableAndCleanRecycleBin
&FileSystemId=1ca404****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DisableAndCleanRecycleBinResponse>
<RequestId>9E15E394-38A6-457A-A62A-D9797C9A****</RequestId>
</DisableAndCleanRecycleBinResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"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.