---
title: "Reset password"
method: PUT
path: "/api/v5/users/reset-password"
tags: ["Authentication"]
---

# Reset password

`PUT /api/v5/users/reset-password`

reset user password by token
:param user_reset_password:
:param users_repo:
:param settings:
:return:

## Request body

- BodyAuthResetPasswordApiV5UsersResetPasswordPut
  - `user` UserInResetPasswrd, required
    - `token` string, required
    - `password` string, required

## Response `200`

Successful Response

- UserInResponse
  - `user` UserWithToken, required
    - `username` string
    - `email` string, required
    - `phone` string
    - `countryCode` string
    - `phoneConfirmed` boolean
    - `firstName` string
    - `lastName` string
    - `birthDate` string, date
    - `weight` number
    - `weightMeasurementUnit` string
    - `height` number
    - `heightMeasurementUnit` string
    - `resetPasswordToken` string
    - `resetPasswordSentAt` string, date-time
    - `profilePictureId` integer
    - `profilePictureUrl` string
    - `emailConfirmed` boolean
    - `anonymous` boolean
    - `role` string
    - `timezone` string
    - `settings` object
    - `id` integer, required
    - `token` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pavlok/apis/pavlok-api-v5.md) · [All operations](https://skmtc.net/pavlok/apis/pavlok-api-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pavlok/pavlok-api-v5/versions/3d192098b1ac/schema)
