---
title: "Update user password by ID"
method: PUT
path: "/auth/users/{userId}/password"
tags: ["auth"]
---

# Update user password by ID

`PUT /auth/users/{userId}/password`

Update a specific user's password by ID (superadmin only)

## Path parameters

- `userId` string, required

## Request body

- object
  - `password` string, password, required — New password for the user

## Response `200`

Operation successful

- SuccessResponse
  - `success` boolean, required
  - `msg` string, required
  - `data` object — Response payload (varies by endpoint)

## Other responses

- `403` — Insufficient permissions
- `404` — Resource not found
- `422` — Validation failed
- `500` — Internal server error

## Changes

- **2026-01-19** `09670a0c51bd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/bluewave-labs/apis/checkmate-api/changes/auth/users/:userId/password/put.md)

---

[API](https://skmtc.dev/bluewave-labs/apis/checkmate-api.md) · [All operations](https://skmtc.dev/bluewave-labs/apis/checkmate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bluewave-labs/checkmate-api/revisions/8e4e53495dc9/schema)
