Queries the information of a member.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AccountId | string | Yes | The Alibaba Cloud account ID of the member. | 181761095690**** |
IncludeTags | boolean | No | Specifies whether to return the information of tags. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"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
},
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | MissingParameter.AccountId | You must specify AccountId. | The AccountId parameter is not configured. |
400 | InvalidParameter.AccountId | The AccountId is invalid. | The value of the AccountId parameter is invalid. Specify a 16-digit ID. |
404 | EntityNotExists.Account | This resource directory account does not exist. | The member does not exist. Create such a member first. |
404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | The account is not used to enable a resource directory. Use the account to enable a resource directory first. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2024-05-06 | The Error code has changed. The response structure of the API has changed | see changesets | ||||||||
|