Skip to main content
Version: 5.7.0

ResetUniversalIdPasswordWithExpiry

Reset Universal ID password. Allows the developer to specify how long the URL is valid for (in minutes).

ServiceOperation
authenticationV2RESET_UNIVERSAL_ID_PASSWORD_WITH_EXPIRY

Method Parameters

ParameterDescription
universalIdThe universalId to send the reset email to.
tokenTtlInMinutesThe time-to-live for the password reset url, in minutes.

Usage

http://localhost:3000
string universalId = "universalId";
int tokenTtlInMinutes = 1440;
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.AuthenticationService.ResetUniversalIdPasswordWithExpiry(universalId, tokenTtlInMinutes, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}