Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Account#updatePassword

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
method Account.prototype.updatePassword
Re-export
import { Account } from "https://deno.land/x/appwrite@12.1.0/mod.ts";

Update password

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, Team Invites and Magic URL, oldPassword is optional.

Parameters

password: string
optional
oldPassword: string