Skip to main content

Changes a user password

POST 

<your-unleash-url>/auth/reset/password

Allows users with a valid reset token to reset their password without remembering their old password

Request

Bodyrequired

changePasswordSchema

    tokenstringrequired

    A reset token used to validate that the user is allowed to change the password.

    Example: $2a$15$QzeW/y5/MEppCWVEkoX5euejobYOLSd4We21LQjjKlWH9l2I3wCke
    passwordstringrequired

    The new password for the user

    Example: correct horse battery staple

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/auth/reset/password' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"token": "$2a$15$QzeW/y5/MEppCWVEkoX5euejobYOLSd4We21LQjjKlWH9l2I3wCke",
"password": "correct horse battery staple"
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Body required
{
  "token": "$2a$15$QzeW/y5/MEppCWVEkoX5euejobYOLSd4We21LQjjKlWH9l2I3wCke",
  "password": "correct horse battery staple"
}
ResponseClear

Click the Send API Request button above and see the response here!