You need to enable JavaScript to run this app.
导航

DeleteFileSystem

最近更新时间2023.10.17 14:47:15

首次发布时间2023.07.10 11:11:52

调用 DeleteFileSystem 接口删除文件系统。

请求参数

参数类型是否必选示例值描述
FileSystemIdStringenas-cnbj01961fc437****需要删除的文件系统 ID。

返回参数

参数类型示例值描述
OrderNoStringOrder724371858305511****删除文件系统的订单号。

示例

请求示例

POST /?Action=DeleteFileSystem&Version=2022-01-01 HTTP/1.1
Host: filenas.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/filenas/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc****
Content-Type: application/json; charset=utf-8
X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd****
X-Date: 20230907T124910Z
{
    "FileSystemId" : "enas-cnbj01961fc437****"
}

返回示例

{
    "ResponseMetadata":{
        "RequestId":"92983677-0255-4ea0-a084-0b5e45a093e3",
        "Action":"DeleteFileSystem",
        "Version":"2022-01-01",
        "Service":"FileNAS",
        "Region":"cn-beijing"
    },
    "Result":{
        "OrderNo":"Order724371858305511****"
    }
}

错误码

状态码错误码错误信息说明
400InvalidParameterThe specified parameter is invalid.参数格式无效。
400MissingParameter.FileSystemIdThe required parameter FileSystemId is not supplied.文件系统 ID 不能为空。
404NotFound.FileSystemThe specified file system does not exist.指定的文件系统不存在。
412OperationDenied.FileSystemBusyThe specified operation is denied as the file system is busy.指定的操作被拒绝,文件系统正在执行其他操作。
412OperationDenied.FileSystemStatusThe specified operation is denied as the status of the file system does not support the request.指定的操作被拒绝,文件系统当前状态不支持该请求。
500InternalErrorService has some internal errors, please retry later or contact the admin.内部错误,请稍后重试或提交工单处理。