PUT login/users/:user id/move to/:target id
From Social ID Developers
Contents |
Description
Moves the data from the user "user_id" to the user "target_id" and then removes the first, keeping only the target user. Social networks access credentials and Social Login Tokens are also moved to the target user.
Use this API when you know from an external source that two users are actually the same person.
Both users must belong to the same Login App.
Resource URL
PUT https://api.socialidnow.com/v1/marketing/login/users/:user_id/move_to/:target_id
Parameters
URL Parameters
user_id | required | source user identifier. This user will be removed from the database. |
---|---|---|
target_id | required | target user identifier. This user will receive all data from the source user. |
Authentication
This API requires Account authentication. See Authentication.
Examples
Request
Moves data from user "340" to the user "355" and removes user "340".
curl -X PUT 'https://api.socialidnow.com/v1/marketing/login/users/340/move_to/355' \ --user <api_id>:<api_secret>
Response
Response Headers
HTTP/1.1 200 OK Status: 200