PromoteResourceAccount_资源管理_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为10/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
resourcemanager:PromoteResourceAccount
Update
全部资源
*

请求参数

字段名称字段详情
AccountIdstring

需要升级的资源账号 ID。

示例值:12323344****参考取值来源:
    UpdateAccount
    ListAccounts
    RemoveCloudAccount
    CreateCloudAccount
    ResendCreateCloudAccountEmail
Emailstring

升级后的云账号登录邮箱。

示例值:someone@example.com

返回参数

字段名称字段详情
Accountobject

成员信息。

RequestIdstring

请求 ID。

示例值:9B34724D-54B0-4A51-B34D-4512372FE1BE

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
MissingParameter.AccountId
You must specify AccountId.诊断
400
InvalidParameter.AccountId
The AccountId is invalid.诊断
400
MissingParameter.Email
You must specify Email.诊断
400
InvalidParameter.Email
The Email is invalid.诊断
404
EntityNotExists.Account
This resource directory account does not exist.诊断
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
AccountTypeOrStatusMismatch
You cannot perform the action on the member account.诊断
409
InvalidParameter.Email.AlreadyUsed
The email has been used.诊断

变更历史

暂无变更历史

相关示例

2024年08月20日