Skip to main content
Module

x/appwrite/mod.ts>Account#updateRecovery

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

Create password recovery (confirmation)

Use this endpoint to complete the user account password reset. Both the userId and secret arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the POST /account/recovery endpoint.

Please note that in order to avoid a Redirect Attack the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.

Parameters

userId: string
secret: string
password: string