---
title: "Reset a user's password."
method: POST
path: "/v2/console/user/{username}/reset/password"
tags: ["Console"]
---

# Reset a user's password.

`POST /v2/console/user/{username}/reset/password`

## Request

- Base URL: `http://127.0.0.1:7351`
- URL: `http://127.0.0.1:7351/v2/console/user/{username}/reset/password`
- Auth: API key in header `Authorization`

## Path parameters

- `username` string, required

## Response `200`

A successful response.

- ResetUserResponse: Request to reset a user's credentials, password or MFA.
  - `code` string: An one-time code to be used when re-configuring the password.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2.md) - [All operations](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/revisions/fbde2e3c5ead?raw)
