Click or drag to resize
ParaPlan Logo

How To Reset Password

A user may forget their password. Calling this method will send an email to the user with their password that is on file.

Send password reminder

  • Send a GET request to SendPasswordReminder(String):

    C#
    1var remindPasswordUrl = $"{storedrestURL}UserService/SendPasswordReminder?user={email}";
    2using (WebClient client = new WebClient())
    3{
    4    string s = client.DownloadString(remindPasswordUrl);
    5    var simpleResponse = JsonConvert.DeserializeObject<SimpleResponse>(s);
    6
    7}
    SimpleResponse Result
    {
      "errorMessage": "",
      "success": true,
      "tokenExists": true,
      "tokenIsValid": true
    }