---
title: "Update user"
method: PATCH
path: "/api/auth/admin/users/{user_id}"
tags: ["Admin Users"]
---

# Update user

`PATCH /api/auth/admin/users/{user_id}`

Updates a user's attributes.

## Path parameters

- `user_id` string, required

## Request body

- UpdateUserRequest
  - `email` string, nullable
  - `email_verified` boolean, nullable
  - `image` string, nullable
  - `metadata` object, nullable
  - `name` string, nullable

## Response `200`

OK

- UpdateUserResponse
  - `user` User, required
    - `created_at` string, date-time, required
    - `email` string, required
    - `email_verified` boolean, required
    - `id` string, required
    - `image` string, nullable
    - `metadata` object, nullable
    - `name` string, required
    - `updated_at` string, date-time, required

## Changes

- **2026-07-08** `61a78375af21` — 6 info
  - the response property `user/created_at` became required for the status `200`
  - the response property `user/email` became required for the status `200`
  - the response property `user/email_verified` became required for the status `200`
  - the response property `user/id` became required for the status `200`
  - …2 more
- **2026-07-08** `2ff1d8d3f239` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/api/auth/admin/users/:user_id/patch.md)

---

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