---
title: "Reset Password"
method: POST
path: "/users/{user_id}/password"
tags: ["users"]
---

# Reset Password

`POST /users/{user_id}/password`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/users/{user_id}/password`
- Auth: none declared

Super-admin reset for ANY user's password. Auto-generates a strong
password if `password` is omitted. Returned once — admin hands it off
to the user via a side channel (no email sent here).

## Path parameters

- `user_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- PasswordResetIn: Admin/owner password reset payload. Leave `password` blank to auto-generate (returned once in PasswordResetOut so the admin can hand it off to the user).
  - `password` string, nullable

## Response `200`

Successful Response

- PasswordResetOut
  - `id` string, required
  - `password` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
