文档

DeleteFolder - 删除资源夹

更新时间:

调用DeleteFolder删除资源夹。

接口说明

删除资源夹前,请确保资源夹下不存在成员或子资源夹。

调试

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

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
FolderIdstring

资源夹 ID。

fd-ae1in7****

返回参数

名称类型描述示例值
object

返回结果。

RequestIdstring

请求 ID。

9B34724D-54B0-4A51-B34D-4512372FE1BE

示例

正常返回示例

JSON格式

{
  "RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}

错误码

HTTP status code错误码错误信息描述
400MissingParameter.FolderIdYou must specify FolderId.资源夹ID缺失,请指定目标ID。
400InvalidParameter.FolderIdThe FolderId is invalid.资源夹ID无效,资源夹ID应以“r-”开头+6位数字或英文字母或以“fd-”开头+10位数字或英文字母。
404EntityNotExists.ResourceDirectoryThe resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account.当前账号未启用资源目录,请先启用资源目录。
404EntityNotExists.FolderThe resource directory folder does not exist.资源夹不存在,请先创建资源夹。
409DeleteConflict.Folder.SubFolderThis folder has sub folders.资源夹下存在子资源夹,请先删除子资源夹。
409DeleteConflict.Folder.AccountThis folder has accounts.资源夹下存在成员,请先移除成员。

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

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈