---
title: "PUT /api/user"
method: PUT
path: "/api/user"
tags: ["User"]
---

# PUT /api/user

`PUT /api/user`

Update current user password

## Request body

- UpdateUserRequest
  - `name` string, nullable
  - `password` string, nullable
  - `confirm-password` string, nullable
  - `email` string, nullable
  - `is_admin` boolean, nullable
  - `group_name` string, nullable
  - `note` string, nullable
  - `status` integer, nullable

## Response `200`

- UsersResponse
  - `msg` string, required
  - `total` integer, required
  - `data` string, required

## Other responses

- `401`

## Changes

- **2024-05-19** `fafd43b82c78` — 1 warning, 2 info
  - removed the request property `uuid`
  - api tag `User` added
  - api tag `user` removed

[Change history](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/changes/api/user/put.md)

---

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