Queries the details of an Employee Identity and Access Management (EIAM) account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /v2/{instanceId}/{applicationId}/users/{userId} HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Authorization | string | Yes | The authentication information. The value is in the Bearer ${access_token} format. Example: Bearer ATxxxx. | Bearer AT8csE2seYxxxxxij |
| instanceId | string | Yes | The instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId | string | Yes | The application ID. | app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| userId | string | Yes | The account ID. | user_d6sbsuumeta4h66ec3il7yxxxx |
Response parameters
Examples
Sample success responses
JSONformat
{
"instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"organizationalUnits": [
{
"organizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitName": "name001",
"primary": true
}
],
"primaryOrganizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"customFields": [
{
"fieldName": "xxxx",
"fieldValue": ""
}
],
"userId": "user_d6sbsuumeta4h66ec3il7yxxxx",
"username": "name001",
"displayName": "display_name001",
"passwordSet": true,
"phoneRegion": 86,
"phoneNumber": "156xxxxxxx",
"phoneNumberVerified": true,
"email": "example@example.com",
"emailVerified": true,
"userExternalId": "user_d6sbsuumeta4h66ec3il7yxxxx",
"userSourceType": "build_in",
"userSourceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"status": "enabled",
"accountExpireTime": 1652085686179,
"registerTime": 1652085686179,
"lockExpireTime": 1652085686179,
"createTime": 1652085686179,
"updateTime": 1652085686179,
"description": "",
"groups": [
{
"groupId": "group_ufdsasn35ea5lmthk267xxxxx",
"groupName": "name_test",
"description": "description_demo"
}
]
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2023-10-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2023-04-16 | The response structure of the API has changed | View Change Details |
