---
title: "Initiates the flow to update a user's username."
method: POST
path: "/api/Account/update/username"
tags: ["Account"]
---

# Initiates the flow to update a user's username.

`POST /api/Account/update/username`

## Request body

- UpdateUsernameRequestDto
  - `username` string, nullable, required

## Response `200`

OK

- InviteUserResponse
  - `emailLink` string, nullable
  - `emailSent` boolean
  - `invalidEmail` boolean

---

[API](https://skmtc.net/kareadita/apis/kavita.md) · [All operations](https://skmtc.net/kareadita/apis/kavita/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kareadita/kavita/revisions/4278761d76d7/schema)
