Employee Identity (EIAM)
Delete Application Account
Interface
# Permissions {/examples/}
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 |
| all | Read and write permissions for all interfaces |
# Request Specification {/examples/}
DELETE https://{your_domain}/api/v2/tenant/applications/{app_id}/accounts/{app_user_id}
# Request Headers {/examples/}
| 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 {/examples/}
None
# Request Parameters {/examples/}
| Parameter Name | Chinese Name | Required | Type | Description |
|---|---|---|---|---|
| app_id | Application ID | Yes | String | Target application ID |
| app_user_id | Application Account ID | Yes | String |
# Response Example
Correct Example:
HTTP/1.1 204 No Content
Error Example:
HTTP/1.1 400 Bad Request
{
"error_code": " APP.ACCOUNT.0028",
"error_msg": "应用账号不存在"
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
# Response Parameters
None
# Error Codes
| Status Code | Error Code | Error Message | Handling Action |
|---|---|---|---|
| 400 | APP.0001 | Application does not exist | Please check if the application exists |
| App does not exist | |||
| 400 | APP.ACCOUNT.0028 | Application account does not exist | Please check if the application account exists |
| The application account does not exist |
