Employee Identity (EIAM)
Remove Application-side Role Members
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 |
|---|---|
| app_role_all | Read and write permissions for application-side role interfaces |
| all | Read and write permissions for all interfaces |
# Request Specification
DELETE https://{your_domain}/api/v2/tenant/applications/{app_id}/role-member
# 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
{
"role_id": "20220420144449385-C66D-E8C1D1D79",
"account_Ids": [
"20220414163425614-2FD6-CA9B208BE"
]
}
1
2
3
4
5
6
2
3
4
5
6
# Request Parameters
| Parameter Name | Chinese Name | Required | Type | Description |
|---|---|---|---|---|
| app_id | Application ID | Yes | String | Target Application ID |
| role_id | Application-side Role ID | Yes | String | Target Role ID |
| account_Ids | Application Account ID Collection | Yes | List | Maximum collection capacity is 50 |
# Return Example
Correct Example:
HTTP/1.1 200 OK
{
"success_list": [
"20220414163425614-2FD6-CA9B208BE"
],
"fail_list": []
}
Error Example:
HTTP/1.1 400 Bad Request
{
"error_code": " APP.ROLE.0002",
"error_msg": "Application side role does not exist"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Return Parameters
| Parameter Name | Chinese Name | Type | Description |
|---|---|---|---|
| success_list | Success Collection | List | Application Account ID Collection |
| fail_list | Failure Collection | List | Application Account ID Collection |
# Error Codes
| Status Code | Error Code | Error Message | Handling Action |
|---|---|---|---|
| 400 | APP.ROLE.0002 | Application side role does not exist | Please check if the application side role has been deleted |
| The application side role does not exist | |||
| 400 | APP.OBJECTMODEL.0006 | Application role model is not enabled | Please check if the application role model is enabled |
| The application role model is not opened | |||
| 400 | APP.0001 | Application does not exist | Please check if the application has been deleted |
| App does not exist |
I understand. Please provide the Markdown content you need translated.
