Skip to main content
POST/users/merge/

Merge user

You can merge users using REST API. Request requires providing the main user to which attribute values from other users will be merged.

In case multiple users have a value for the same attribute, the value will be taken first from the user to whom the values are to be merged, and then from the user with the lowest ID value.

AttributesTypeRequiredDescription
parentintyesUser to which attributes will be merged
users_listlist of intsyesList of users whose attribute values will be merged to the user given as "parent"

Request​

curl -X POST -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
"parent": 11,
"user_list": [2, 5, 6]
}' "https://<your_app_subdomain>.user.com/api/public/users/merge/"

Response​

'{"success":true}'