mirror of
https://github.com/appwrite/appwrite
synced 2026-05-21 07:58:55 +00:00
412 B
412 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->createRecovery(
email: 'email@example.com',
url: 'https://example.com'
);