Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Account#updatePassword

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

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

Parameters

password: string
optional
oldPassword: string