---
title: "Admin Change User Password"
method: PATCH
path: "/admin/users/{user_id}/password"
tags: ["admin"]
---

# Admin Change User Password

`PATCH /admin/users/{user_id}/password`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/admin/users/{user_id}/password`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Change any user's password. Requires admin privileges.

## Path parameters

- `user_id` string, uuid, required

## Request body

- AdminChangePassword
  - `new_password` string, required

## Response `200`

Successful Response

- User
  - `first_name` string, required
  - `last_name` string, required
  - `brand_name` string, nullable
  - `role` string, required
  - `whatsapp` string, nullable
  - `email` string, email, required
  - `id` string, uuid, required
  - `is_active` boolean, required
  - `is_admin` boolean, required
  - `is_approved` boolean
  - `email_notifications_consent` boolean
  - `email_verified` boolean
  - `onboarding_completed` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
