action appwrite_account_update_email { label: "Update Account Email" description: "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.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password." provider: appwrite method: PATCH path: "/account/email" encoding: json input: { type: "object" required: ["email", "password"] properties: { email: { type: "string" description: "User email." } password: { type: "string" description: "User password. Must be between 6 to 32 chars." } } } output: { type: "object" description: "User" required: ["$id", "email", "emailVerification", "name", "passwordUpdate", "prefs", "registration", "status"] properties: { "$id": { type: "string" description: "User ID." } email: { type: "string" description: "User email address." } emailVerification: { type: "boolean" description: "Email verification status." } name: { type: "string" description: "User name." } passwordUpdate: { type: "integer" format: "int32" description: "Unix timestamp of the most recent password update" } prefs: { type: "object" description: "User preferences as a key-value object" items: { type: "object" description: "Preferences" } } registration: { type: "integer" format: "int32" description: "User registration date in Unix timestamp." } status: { type: "integer" format: "int32" description: "User status. 0 for Unactivated, 1 for active and 2 is blocked." } } } }