Employee Identity (EIAM)
Delete Organization
Identity Synchronization
# Request Description
| Parameter | Reference |
|---|---|
| Request URL | https://{app_domain}/callback |
| Request Method | POST |
| Request Header | Authorization: Bearer {access_token} |
# Request Parameters
| Parameter Name | Type | Description |
|---|---|---|
| id | String | The organization ID of the enterprise application |
- Additional Note: When other attribute values of the organization object need to be passed upon deletion, you can modify the attribute to "Always Map" in IDaaS Enterprise Center under Application -> Object Model -> Application Organization Model -> Mapping Definition Configuration, and then it can be passed downstream.
# Response Parameters
| Parameter Name | Type | Description |
|---|---|---|
| code | String | Return code, 200 indicates success |
| message | Integer | Error reason description when processing fails |
# Request Example
- Request Example with Message Signing and Encryption Enabled
{
"nonce": "AmgjjEAJbrMzWmUw",
"timestamp": 15093849585,
"eventType": "DELETE_ORGANIZATION ",
"data": "6lrHydJIXEWxQhUa3UqsXHWsDZ5LTAo/xU3zhjq9H3syCuFYDYKg==",
"signature": "K08yDiTEc094KoccOY+VYLQFxxQ="
}
1
2
3
4
5
6
7
2
3
4
5
6
7
- JSON String Format of the Decrypted Request Body Data
{
"id": "6c5bb468-14b2-4183-baf2-06d523e03bd3"
}
1
2
3
2
3
- JSON String Format of the Decrypted Request Body Data with "Always Map" Attribute Configured
{
"id": "6c5bb468-14b2-4183-baf2-06d523e03bd3",
"code": "1000003",
"name": "Wuhan Branch",
"parentId": "5b183439-36a8-4d08-94ba-61b3c8d40b66",
"disabled":false,
"number":123456,
"switch":false,
"text":"Value of Extended Attribute Single-Value Text",
"multivaluedText":["Value 1 of Extended Attribute Multi-Value Text","Value 2 of Extended Attribute Multi-Value Text"]
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
- Extended Attribute Supplementary Description: Mapping must be configured in IDaaS Enterprise Center under Resources -> Application -> Object Model -> Application Organization Model -> Mapping Definition for the downstream application to receive the defined extended attribute values and attribute information; please refer to Preparation Work for how to configure extended attributes and mapping definitions.
# Response Example
Status Code: 200
Request successful
{
"code": "200",
"message": "success"
}
1
2
3
4
2
3
4
