Initiates a password reset flow by sending a reset email to the specified address.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/auth/forgot.do
Initiates a password reset flow by sending a reset email to the specified address. If the email matches an existing active user, a password reset link is dispatched. If no user is found with the given email, the operation completes silently without error to prevent email enumeration attacks. Validation errors on the email field are returned in the response.
Form Params
emailstring
Email address associated with the account
user@example.com
Responses
200
Password reset email sent (or no-op if email not found)
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/auth/forgot.do");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string> { ["email"] = "user@example.com" });
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());