---
title: "PUT /api/core/iam/users/{id}"
method: PUT
path: "/api/core/iam/users/{id}"
tags: ["core/iam", "coreIam"]
---

# PUT /api/core/iam/users/{id}

`PUT /api/core/iam/users/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- UserUpdateReq
  - `username` string
  - `firstName` string
  - `email` string
  - `phone` string
  - `enabled` boolean
  - `homePage` string
  - `roleList` UserRoleReq[]
    - `roleId` integer, required
    - `roleName` string

## Response `200`

A successful response.

- object
  - `code` integer
  - `msg` string
  - `data` Envelope
    - `code` integer, required
    - `msg` string, required
    - `data` object

## Changes

- **2026-08-20** `e5f616b215c8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/freezonex/apis/freezonex-tier0-edge-api/changes/api/core/iam/users/:id/put.md)

---

[API](https://skmtc.dev/freezonex/apis/freezonex-tier0-edge-api.md) - [All operations](https://skmtc.dev/freezonex/apis/freezonex-tier0-edge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/freezonex/apis/freezonex-tier0-edge-api/revisions/e5f616b215c8?raw)
