---
title: "Reset the password of a guest"
method: POST
path: "/v1/guests/password?reset=true"
---

# Reset the password of a guest

`POST /v1/guests/password?reset=true`

This API helps you to reset a guest's password.

When you invoke this API, a temporary code is generated that does not actually replace a guest's existing password. The temporary code acts as a one-time password (OTP), by using which guests can validate their update password request.

This API also takes care of scenarios where there might be multiple accounts found with the same username. In that case, the guest's first_name is provided so that the appropriate account can be identified and the reset password email can then be sent to that user.

This API returns either a success parameter that specifies that the password-reset process was successful or an error object if there is any error.

## Request body

- object
  - `email_or_phone` string, required — `Mandatory` Guest's email or phone details.
  - `first_name` string, required — Optional First name of the guest.

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/versions/e628f892391a/schema)
