调用DisableAndCleanRecycleBin接口关闭指定通用型NAS文件系统的回收站,并清空回收站中的数据。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DisableAndCleanRecycleBin

接口名称。

固定取值:DisableAndCleanRecycleBin

FileSystemId String 1ca404****

文件系统ID。

返回数据

名称 类型 示例值 描述
RequestId String 9E15E394-38A6-457A-A62A-D9797C9A****

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=DisableAndCleanRecycleBin
&FileSystemId=1ca404****
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<DisableAndCleanRecycleBinResponse>
    <RequestId>9E15E394-38A6-457A-A62A-D9797C9A****</RequestId>
</DisableAndCleanRecycleBinResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

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

错误码

HttpCode 错误码 错误信息 描述
400 IllegalCharacters The parameter contains illegal characters. 参数非法。
400 MissingFileSystemId FileSystemId is mandatory for this action. 缺少FileSystemId参数。
403 OperationDenied.RecycleBinDisabled The operation is denied because the recycle bin is disabled. 请求无法在回收站关闭状态下执行。
404 InvalidFileSystem.NotFound The specified file system does not exist. 指定的文件系统不存在。

访问错误中心查看更多错误码。