Customer Identity (CIAM)
Delete User
# Request Description
DELETE https://{your_domain}/api/v2/tenant/users/{user_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
DELETE https://{your_domain}/api/v2/tenant/users/20220126153857263-A04D-60E0D446C
# Request Parameters
| Parameter Name | Chinese Name | Required | Type | Description |
|---|---|---|---|---|
| user_id | User ID | Yes | String | Target User ID |
# Response Example
Success Example:
HTTP/1.1 200 OK
Error Example:
HTTP/1.1 400 Bad Request
{
"error_msg": "User not found",
"error_code": "IDAAS.TENANT.USER.0001"
}
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 | IDAAS.TENANT.USER.0001 | User not found | Please check if the corresponding user exists |
| User not found |
