Reset a user's password

POST /Api/Auth/ResetPassword

Query parameters

  • passwordResetToken string

Body

  • newPassword string Required

    Minimum length is 1. Format should match the following pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d\w\W]{8,}$.

  • Additional properties are NOT allowed

Responses

  • 204

    No Content

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 503

    Server Error

POST /Api/Auth/ResetPassword
curl \
 -X POST https://app.lovassy.hu/Api/Auth/ResetPassword \
 -H "Content-Type: application/json" \
 -d '{"newPassword":"string"}'
curl \
 -X POST https://app.lovassy.hu/Api/Auth/ResetPassword \
 -H "Content-Type: text/json"
curl \
 -X POST https://app.lovassy.hu/Api/Auth/ResetPassword \
 -H "Content-Type: application/*+json"
Request examples
{
  "newPassword": "string"
}
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}