---
title: "Initiates the flow to update a user's email address. If email is not setup, then the email address is not changed in this API. A confirmation link is sent/dumped which will validate the email. It must be confirmed for the email to update."
method: POST
path: "/api/Account/update/email"
tags: ["Account"]
---

# Initiates the flow to update a user's email address. If email is not setup, then the email address is not changed in this API. A confirmation link is sent/dumped which will validate the email. It must be confirmed for the email to update.

`POST /api/Account/update/email`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Account/update/email`
- Auth: API key in header `x-api-key`

## Request body

- UpdateEmailDto
  - `email` string, nullable
  - `password` string, nullable

## Response `200`

OK

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

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
