关闭资源中心。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcecenter:DisableResourceCenter |
delete |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数。 |
||
| RequestId |
string |
请求 ID。 |
D170D58E-6256-5344-8F5E-922EC9ECB7EA |
示例
正常返回示例
JSON格式
{
"RequestId": "D170D58E-6256-5344-8F5E-922EC9ECB7EA"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | ServiceNotEnabled | ResourceCenter Service is not enabled. | 资源中心服务未开通。 |
| 400 | DiscoveryInProgress | A discovery task is in progress. Please wait for a while and check the result again. | |
| 400 | DependencyViolation.ResourceGroup | Unable to disable resource center while associate transfer is enabled. | |
| 400 | DependencyViolation.Config | ResourceCenter cannot be disabled, because the Config has been enabled. | |
| 404 | NotExists.Account | The specified account does not exist. | 指定账号不存在。 |
| 409 | DisableConflict.MultiAccount | ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter. | 资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。 |
| 409 | DisableConflict.DeliveryChannel | ResourceCenter cannot be disabled because there are active delivery channels. | 存在活跃的投递渠道,资源中心无法关闭。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。