Forgot password — request the link / complete with it
Stage one — `{"email"}`: every well-formed address answers the SAME `202` with an empty body, whether an account has it or not (owner 12.10.2026 «Одинаковый ответ»: the answer must not reveal who is registered). The one-time link `FRONTEND_HOST/set-password?uuid=…` (lives `UUID_TOKEN_LIFETIME`, default 60 minutes; a newer link cancels the older) is mailed only to an active account — an UNCONFIRMED one may recover (owner 08.10.2026); an unknown, blocked or deleted one gets no mail. Only a malformed address is a 400. Stage two — `{"uuid","newPassword","newPasswordRepeat"}`: sets the password the person typed (`PasswordPolicy`: 8–72 bytes, a letter, a digit, a special character), spends the link, ends every session of the account, confirms an unconfirmed one and mails «Your B2Translate password was changed». A 400 never spends the link. The link of an account deleted or BLOCKED since it was mailed answers 404 and changes nothing (owner 16.10.2026). No e-mail carries a password.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/v2/auth/reset-password" \ -H "Content-Type: application/json" \ -d '{}'