---
title: "update user"
method: PUT
path: "/open/users"
tags: ["user"]
---

# update user

`PUT /open/users`

## Request body

- UserUpdateUserReq
  - `id` integer
  - `password` string
  - `role` 0 | 1 | 2 | 3 | 4 | 5
  - `tfa_enabled` boolean
  - `username` string

## Response `200`

OK

- ResponseJSONBody
  - `data` unknown
  - `err` string
  - `msg` string

## Changes

- **2026-04-01** `de6007edcff9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/chaitin/apis/mgt-api/changes/open/users/put.md)

---

[API](https://skmtc.dev/chaitin/apis/mgt-api.md) · [All operations](https://skmtc.dev/chaitin/apis/mgt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/mgt-api/revisions/de6007edcff9/schema)
