action appwrite_account_update_password { label: "Update Account Password" description: "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth and Team Invites, oldPassword is optional." provider: appwrite method: PATCH path: "/account/password" encoding: json input: { type: "object" required: ["password"] properties: { oldPassword: { type: "string" description: "Old user password. Must be between 6 to 32 chars." } password: { type: "string" description: "New 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." } } } }