---
title: "Update User"
method: PATCH
path: "/v1/web/admin/users/{user_id}"
tags: ["Web Admin", "Web Admin Users"]
---

# Update User

`PATCH /v1/web/admin/users/{user_id}`

## Request

- Base URL: `https://api.hydraai.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hydraai.ru/v1/web/admin/users/{user_id}`
- Auth: none declared

## Path parameters

- `user_id` string, uuid, required

## Request body

- UserChange
  - `role` 'user' | 'editor' | 'admin', nullable
  - `status` 'active' | 'blocked', nullable
  - `reason` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `42d3d2735311`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hydraai/apis/hydraai-api/changes/v1/web/admin/users/:user_id/patch.md)

---

[API](https://skmtc.dev/hydraai/apis/hydraai-api.md) - [All operations](https://skmtc.dev/hydraai/apis/hydraai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hydraai/apis/hydraai-api/revisions/42d3d2735311?raw)
