---
title: "Reset a user's password"
method: POST
path: "/users/{userId}/password-reset"
tags: ["Users"]
---

# Reset a user's password

`POST /users/{userId}/password-reset`

Triggers a password-reset flow for the target user. The user
receives an email containing a one-time link they can use to
choose a new password. This endpoint does not return the new
password and does not invalidate existing sessions until the
reset link is followed.

## Response `200`

The password reset was successfully triggered.

- object
  - `message` string, required — A description for the response.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
