开通跨账号资源搜索。
接口说明
如果您已经通过资源目录搭建了企业的多账号体系结构,您可以使用资源目录的管理账号或委派管理员账号开通跨账号资源搜索,查看多个成员中的资源。关于资源目录的更多信息,请参见资源目录概述。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcecenter:EnableMultiAccountResourceCenter |
create |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数。 |
||
| RequestId |
string |
请求 ID。 |
767038B7-2027-5508-858B-E213232D57D5 |
| Status |
string |
开通状态。取值:
|
Pending |
示例
正常返回示例
JSON格式
{
"RequestId": "767038B7-2027-5508-858B-E213232D57D5",
"Status": "Pending"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | 当前账号未开通资源目录。 |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | |
| 409 | NotSupport.Account.Site | The caller is not a current site account, which is not supported. | 当前账号所属站点错误。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。