Skip to main content
Version: 5.7.0

MergeUltraIdentity

Merge the profile associated with the provided Ultra credentials with the current profile.

ServiceOperation
identityMERGE

Method Parameters

ParameterDescription
ultraUsernameIt's what the user uses to log into the Ultra endpoint initially
ultraIdTokenThe "id_token" taken from Ultra's JWT.

Usage

http://localhost:3000
string ultraUsername = "ultraUsername";
string ultraIdToken = "ultraIdToken";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.IdentityService.MergeUltraIdentity(
ultraUsername, ultraIdToken, successCallback, failureCallback);
JSON Response
{  
"data":{
"profileId":"f94f7e2d-3cdd-4fd6-9c28-392f7875e9df"
},
"status":200
}
Common Error Code

Status Codes

CodeNameDescription
40211DUPLICATE_IDENTITY_TYPEReturned when trying to attach an identity type that already exists for that profile. For instance you can have only one Twitter identity for a profile.