---
title: "Update Account Email"
method: PATCH
path: "/account/email"
tags: ["account"]
---

# Update Account Email

`PATCH /account/email`

Update currently logged in user account email address. After changing user address, user confirmation status is being reset and a new confirmation mail is sent. For security measures, user password is required to complete this request.
This endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.

## Request body

- object
  - `email` string, required — User email.
  - `password` string, required — User password. Must be between 6 to 32 chars.

## Response `200`

User

- User — User
  - `$id` string, required — User ID.
  - `email` string, required — User email address.
  - `emailVerification` boolean, required — Email verification status.
  - `name` string, required — User name.
  - `passwordUpdate` integer, required — Unix timestamp of the most recent password update
  - `prefs` object, required — User preferences as a key-value object
  - `registration` integer, required — User registration date in Unix timestamp.
  - `status` integer, required — User status. 0 for Unactivated, 1 for active and 2 is blocked.

---

[API](https://skmtc.net/appwrite/apis/client.md) · [All operations](https://skmtc.net/appwrite/apis/client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appwrite/client/versions/b1c00a0bc3fb/schema)
