Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Account → Update Password Recovery
AI-generatedOverview
This node interacts with the Appwrite API to update the password recovery information for a user account. It is useful in scenarios where a user needs to reset or recover their password securely by providing a secret token and a new password. For example, it can be used in automated workflows to handle password recovery processes in user management systems.
Use Case Examples
- Resetting a user's password after they request a password recovery email.
- Automating password recovery in an application where users verify their identity with a secret token before setting a new password.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose password recovery is being updated. |
| Secret | The secret token used for verification during the password recovery process. |
| New Password | The new password to set for the user, which must be at least 8 characters long. |
Output
JSON
userId- The ID of the user whose password recovery was updated.secret- The secret token used for verification.newPassword- The new password set for the user.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID is correct and exists in the Appwrite system to avoid errors.
- Verify that the secret token is valid and has not expired to prevent verification failures.
- Make sure the new password meets the minimum length requirement (at least 8 characters) to avoid validation errors.
- Common error messages may include authentication failures if the API key is invalid or missing, or validation errors if required parameters are missing or incorrect.