Admin-only endpoint to link a secondary user account into a primary account. - The userToLinkId account will be deleted after merging its linked accounts into the primary userId.
userToLinkId account will be deleted after merging its linked accounts into the primary userId.
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
| Content-Type | string | Yes | application/json |
| Field | Type | Required | Description |
|---|---|---|---|
| payload | object | Yes | Link accounts payload |
| payload.userId | string | Yes | Primary user ID (will keep the account) |
| payload.userToLinkId | string | Yes | Secondary user ID (will be deleted) |
userToLinkId) will be permanently deleted