Employee Identity (EIAM)

Get Application Account Information

Interface

# Permissions

The Identity Management API is authorized at the application level. Before calling the interface, you need to set interface permissions for different applications. For details, please refer to API Permissions.

Permission Code Description
account_all Read and write permissions for account management interfaces
account_read Read permission for account management interfaces
all Read and write permissions for all interfaces
read Permission for all read interfaces

# Request Specification

GET https://{your_domain}/api/v2/tenant/applications/{application_id}/accounts/{account_id}

# Request Headers

Parameter Name Chinese Name Required Type Description
Authorization Authorization Yes String Format: Bearer {access_token}
Content-Type Content Type Yes String Fixed value: application/json; charset=utf-8

# Request Example

None

# Request Parameters

Parameter Name Chinese Name Required Type Description
application_id Application ID Yes String Target application id
account_id Application Account ID Yes String

# Return Example

Success Example:
HTTP/1.1 200 OK
{
    "account_type": "BASIC_ACCOUNT",
    "extension": {},
    "org_id": null,
    "account_name": "zhangs",
    "name": "zs",
    "disabled": false,
    "attr_manager_id": "20230303751591802-G7C3-CB5C8D390"
    "id": "20220414163425614-2FD6-CA9B208BE"
}


Error Example:
HTTP/1.1 400 Bad Request
{
    "error_code": " APP.ACCOUNT. 0028",
    "error_msg": "Application account does not exist"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

# Return Parameters

Parameter Name Chinese Name Type Description
id Application Account ID String
account_name Application Account Name String
name Name String
org_id Application Organization ID String
disabled Disabled or Not Boolean
account_type Account Type String
extension Extension Field Object

# Error Codes

Status Code Error Code Error Message Handling Action
400 APP.ACCOUNT.0028 Application account does not exist Please check if the application account exists
The application account does not exist