Skip to main content
Version: 5.7.0

ResetUser

Deletes the data owned by the user but does not delete the user itself.

Data which is not deleted includes:

  • currency
  • credentials
  • purchase transactions

ResetUser is different from DeleteUser in that the user record will continue to exist after the reset (so the user does not need to re-authenticate).

ServiceOperation
playerStateGAME_DATA_RESET

Usage

http://localhost:3000
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.PlayerStateService.ResetUser(successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}