--- title: "Reset Password" url: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/authentication/reset-password/ description: "This page describes the method to reset the password of a user account in your NodeJS application with sample code snippets." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Reset password - API" url: /en/api/code-reference/cloud-scale/authentication/reset-user-password/#ResetUserPassword - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction --- # Reset Password > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/reset-pwd/) now. After the successful registration of a user, you can reset the password using the following code snippet. While calling the `resetPassword()` method, a reset password link will be generated and sent to the user's Email address. The `userManagement` reference used in the below code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/authentication/get-component-instance). > **Note: ** * **EmailID** and **Platform type** are the mandatory attributes. * You can configure the sender's email address, subject and the email message. You must add the email address in the [Catalyst Mail Component](https://docs.catalyst.zoho.com/en/cloud-scale/help/mail/email-configuration/) and get it verified before using it in the SDK code. ### Create a Configuration JSON JSON objects containing the registration details of a particular user is created as given below, ```javascript //Create Config Object for the user const signupConfig = { platform_type: 'web', zaid: 10014774358, template_details: { 'senders_mail':'dogogetu@tutuapp.bid', 'subject':'Welcome to %APP_NAME% ', 'message':'<p>Hello ,</p> <p>Follow this link to join in %APP_NAME% .</p> <p><a href=\'%LINK%\'>%LINK%</a></p> <p>If you didn’t ask to join the application, you can ignore this email.</p> <p>Thanks,</p> <p>Your %APP_NAME% team</p>' } }; var userConfig = { first_name: 'A', last_name: 'B', email_id: 'amelia.burrows@zylker.com' }; ``` ### Reset the Password These objects are passed as arguments to the `registerUser()` method which returns a promise. The promise returned will be resolved to an object which is a JSON. ```javascript const userManagement = app.userManagement(); let users = await userManagement.resetPassword('amelia.b@zylker.com', { 'platform_type': 'web', 'redirect_url': 'https://www.google.com', 'template_details': { 'subject': 'Reset Password', 'message': 'Click on the link to reset your password: Reset Password', 'senders_mail': 'support@zylker.com' } }); console.log(users); ```