Merge User

POST https://api.speakap.io/users/:eid/merge

When a user is invited to a network with a different email address then his/her global Speakap email address. This action allows the temporary account to be merged with the already existing account. A successful merger attaches the networks of the temporary user to the original one and subsequently deletes the now obsolete account.

Request

URI:/users/{userEID}/merge
Method:POST
Accept:application/vnd.speakap.api-v1.8.2+json+hal
Content-Type:application/x-www-form-urlencoded
Authentication:OAuth 2.0

Parameters

Name Type Description
userEID EID Global user EID

Request body

Name Description
email Email address of the temporary account that needs merging
authentication_code Authentication code that authorized registration of the temporary account

Response

202
Accepted for merger: returns a Feedback object
403
Unauthorized: returns an Error object
404
Unknown user: returns an Error object
409
Conflict (target user has already accepted terms & conditions): returns an Error object
410
Deleted user: returns an Error object