Public endpoint (no authentication required) that initiates a password reset flow.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/forgot.do
Public endpoint (no authentication required) that initiates a password reset flow. Validates the provided email address and, if it belongs to an existing user, sends a reset email containing a time-limited token link. The response always succeeds to avoid leaking whether an email is registered. This is equivalent to /rest-api/auth/forgot but operates without session-based auth.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/forgot.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string> { ["email"] = "user@example.com" });
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());