---
title: "Update User Username"
method: PUT
path: "/profile/username"
---

# Update User Username

`PUT /profile/username`

## Request body

- UserUpdate
  - `username` string, nullable
  - `email` string, nullable
  - `updated_at` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-27** `8fcd55a5a656` — 1 info
  - the `updated_at` request property default value changed from `2026-02-24 11:45:58.812551+00:00` to `2026-02-26 23:57:12.032615+00:00`
- **2026-02-24** `42bb75a1c2e6` — 1 info
  - the `updated_at` request property default value changed from `2026-02-13 09:15:35.785197+00:00` to `2026-02-24 11:45:58.812551+00:00`
- **2026-02-13** `72fe88316d15` — 1 info
  - endpoint added
- **2025-06-27** `e3e84db47198` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/profile/username/put.md)

---

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