mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 05:28:31 +00:00
407 B
407 B
setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
->setProject('') // Your project ID
->setSession(''); // The user session to authenticate with
$account = new Account($client);
$result = $account->updatePassword(
password: '',
oldPassword: 'password' // optional
);