最近更新时间:2023.10.17 14:47:15
首次发布时间:2023.07.10 11:11:52
调用 DeleteFileSystem 接口删除文件系统。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
FileSystemId | String | 是 | enas-cnbj01961fc437**** | 需要删除的文件系统 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
OrderNo | String | Order724371858305511**** | 删除文件系统的订单号。 |
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****" } }
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | 参数格式无效。 |
400 | MissingParameter.FileSystemId | The required parameter FileSystemId is not supplied. | 文件系统 ID 不能为空。 |
404 | NotFound.FileSystem | The specified file system does not exist. | 指定的文件系统不存在。 |
412 | OperationDenied.FileSystemBusy | The specified operation is denied as the file system is busy. | 指定的操作被拒绝,文件系统正在执行其他操作。 |
412 | OperationDenied.FileSystemStatus | The specified operation is denied as the status of the file system does not support the request. | 指定的操作被拒绝,文件系统当前状态不支持该请求。 |
500 | InternalError | Service has some internal errors, please retry later or contact the admin. | 内部错误,请稍后重试或提交工单处理。 |