Skip to main content

Sends a password reset email to the user

POST 

/api/v1/auth/forgot-password

Sends a password reset email to the user

Request

Responses

Password reset email sent successfully.
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://docs.linkwarden.app/api/v1/auth/forgot-password");
request.Headers.Add("Accept", "application/json");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Body required
{
  "email": "user@example.com"
}