调用DestroyResourceDirectory关闭资源目录。此操作不可恢复,请您慎重操作。
接口说明
关闭资源目录前,请确认已完成以下操作:
资源目录内所有云账号类型的成员已被移除。具体操作,请参见 RemoveCloudAccount 。
资源目录内除 Root 资源夹外的资源夹已全部删除。具体操作,请参见 DeleteFolder 。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
示例
正常返回示例
JSON格式
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | |
| 409 | DeleteConflict.ResourceDirectory.Account | Failed to delete the resource directory because one or more member accounts exist. We recommend that you first remove these member accounts. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。