---
title: "PATCH /user/name"
method: PATCH
path: "/user/name"
tags: ["User"]
---

# PATCH /user/name

`PATCH /user/name`

Updates currently logged in user's name

## Request body

- object
  - `name` string

## Response `200`

OK

- object
  - `message` string

## Other responses

- `307` — Redirect to login

## Changes

- **2025-07-15** `4fc8206e1afe` — 2 info
  - added the non-success response with the status `307`
  - removed the non-success response with the status `401`
- **2024-04-14** `5acc2e0d80e9` — 2 info
  - added the non-success response with the status `401`
  - removed the non-success response with the status `307`

[Change history](https://skmtc.dev/devsoc-unsw/apis/chaos-api/changes/user/name/patch.md)

---

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