POST /admin/users/merge
Merge two users into one, retaining the primary account and merging the secondary account's identities, roles, and associated data
Account Management `bearerAuth` application/json
Request Body
Schema: dto.MergeUsersRequest
| Field | Type | Required | Example | Constraints | Description |
primary_user_id |
string |
Yes |
|
|
Primary account user ID |
secondary_user_id |
string |
Yes |
|
|
From account user ID |
Referenced Schemas
gitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
object |
No |
|
|
|
message |
string |
No |
|
|
|