Employee Identity (EIAM)
Unbind User Social Account
API
# 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 |
|---|---|
| user_all | Read and write permissions for user management interfaces |
| all | Read and write permissions for all interfaces |
# Request Specification {/examples/}
DELETE https://{your_domain}/api/v2/tenant/social/unbind/{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 |
|---|---|---|---|---|
| id | Social Account Binding Relationship ID | Yes | String | The id returned by the Get User Social Account List interface |
# Response Example
Success Example:
HTTP/1.1 204 No Content
Error Example:
HTTP/1.1 400 Bad Request
{
"error_msg": "Social relationship unbinding failed, binding relationship does not exist",
"error_code": "OAP-0618"
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# Response Parameters
None
# Error Codes
| Status Code | Error Code | Error Message | Handling Measures |
|---|---|---|---|
| 400 | OAP-0618 | Social relationship unbinding failed, binding relationship does not exist | Please check if the input parameter id is valid |
| Social relationship unbinding failed, binding relationship does not exist |
