---
title: "POST Reset login attempts"
description: "Resets the failed login attempts and unlocks a user account by email."
last_updated: "2026-10-05T05:08:25.849503+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/admin/resetloginattempts"
---

<APIEndpoint
  method={"POST"}
  path={"/api/admin/reset-login-attempts"}
  summary={"Reset login attempts"}
  description={"Resets the failed login attempts and unlocks a user account by email."}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

User email

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successfully reset user login attempts"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Email is required"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"404"}
  description={"User not found"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/admin/reset-login-attempts"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"User email","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
