---
title: "Update User Name"
method: PATCH
path: "/admin/users/{user_id}/name"
tags: ["admin"]
---

# Update User Name

`PATCH /admin/users/{user_id}/name`

Update a user's first and/or last name from the admin dashboard.

## Path parameters

- `user_id` string, required

## Request body

- UpdateUserNameRequest
  - `first_name` string, nullable
  - `last_name` string, nullable

## Response `200`

Successful Response

- UpdateUserNameResponse
  - `success` boolean, required
  - `user_id` string, required
  - `previous_first_name` string, required
  - `previous_last_name` string, required
  - `first_name` string, required
  - `last_name` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
