查询成员信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcemanager:GetAccount |
get |
*Account
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AccountId |
string |
是 |
成员 ID。 |
181761095690**** |
| IncludeTags |
boolean |
否 |
是否返回标签信息。取值:
|
true |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| Account |
object |
成员信息。 |
|
| Status |
string |
成员加入状态。取值:
|
CreateSuccess |
| Type |
string |
成员类型。取值:
|
ResourceAccount |
| DisplayName |
string |
成员名称。 |
admin |
| FolderId |
string |
资源夹 ID。 |
fd-bVaRIG**** |
| ResourceDirectoryId |
string |
资源目录 ID。 |
rd-k3**** |
| IdentityInformation |
string |
实名认证信息。 |
aliyun-admin |
| JoinTime |
string |
成员加入时间。 |
2015-01-23T12:33:18Z |
| AccountId |
string |
成员 ID。 |
181761095690**** |
| JoinMethod |
string |
成员加入方式。取值:
|
created |
| ModifyTime |
string |
成员修改时间。 |
2015-01-23T12:33:18Z |
| AccountName |
string |
账号名称。 |
someone@example.com |
| ResourceDirectoryPath |
string |
成员在资源目录中的路径 ID(RDPath)。 |
rd-k3****/r-Wm****/fd-bVaRIG****/181761095690**** |
| Tags |
array<object> |
标签。 |
|
|
object |
标签列表。 |
||
| Key |
string |
标签键。 |
tag_key |
| Value |
string |
标签值。 |
tag_value |
| Location |
string |
成员所在资源目录的位置。 |
root/AlRd****/Z5Aa**** |
| EmailStatus |
string |
邮箱状态。取值:
|
WAIT_MODIFY |
| HasSecureMobilePhone |
boolean |
成员是否已绑定安全手机。取值:
|
true |
| SecureMobilePhone |
string |
安全手机号码。 |
1234567**** |
| RequestId |
string |
请求 ID。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
示例
正常返回示例
JSON格式
{
"Account": {
"Status": "CreateSuccess",
"Type": "ResourceAccount",
"DisplayName": "admin",
"FolderId": "fd-bVaRIG****",
"ResourceDirectoryId": "rd-k3****",
"IdentityInformation": "aliyun-admin",
"JoinTime": "2015-01-23T12:33:18Z",
"AccountId": "181761095690****",
"JoinMethod": "created",
"ModifyTime": "2015-01-23T12:33:18Z",
"AccountName": "someone@example.com",
"ResourceDirectoryPath": "rd-k3****/r-Wm****/fd-bVaRIG****/181761095690****",
"Tags": [
{
"Key": "tag_key",
"Value": "tag_value"
}
],
"Location": "root/AlRd****/Z5Aa****",
"EmailStatus": "WAIT_MODIFY",
"HasSecureMobilePhone": true,
"SecureMobilePhone": "1234567****"
},
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | AccountId不能为空。 |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | 成员ID无效,请输入16位账号ID。 |
| 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. | 当前账号未启用资源目录,请先启用资源目录。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。