This method replaces the Gigya UID for the user account in Gigya's database, with a site user ID that you provide. This method should be used in case a user ID has changed.

 

This method replaces the Gigya UID in the user account on Gigya's DB, with a site user ID that you provide. This method should be used in case a user ID has changed. 

Notes:

  1. This method is not part of our recommended social registration flow. Please use the socialize.notifyRegistration method instead, and pass the "siteUID" parameter. Learn more in the Social Login guide.
  2. This method replaces the deprecated socialize.linkAccounts method.

 

 

Parameters

RequiredNameTypeDescription
siteUIDstringThe user ID which you have designated to the current user on your user management system. This site UID must be different than the Gigya ID.
This parameter accepts up to 252 ASCII characters (not unicode).
cidstring
The following parameters are Required only when calling the method from client side (e.g. using a Mobile SDK): 
UIDSigstringThe UIDSig is an HMAC-SHA1 signature proving the authenticity of the data. The signature construction should be implemented on your server side. You can read more in Constructing a Signature.
UIDTimestampstringThe UIDTimestamp is the current GMT time when request is made. The expected format is the Unix time format (i.e. the number of seconds since Jan. 1st 1970). Gigya will check the time difference between the timestamp and the time on Gigya's server when this request is received. If the time difference is more than 5 minutes, the request is considered forged. Please make sure that the UIDTimestamp holds the same timestamp used in the construction of the UIDSig parameter. You can read more in Constructing a Signature.

 

FieldTypeDescription

 

{
    "statusCode": 200,
    "errorCode": 0,
    "statusReason": "OK",
    "callId": "3353d2fbac894289977c102298df60d1",
    "time": "2015-03-22T11:42:25.943Z"
}