--- title: "Reset Password" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/reset-pwd/ description: "This page describes the method to perform operations in the Authentication component." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Authentication Help" url: /en/cloud-scale/help/authentication/introduction/ - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/authentication/reset-password/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/authentication/reset-password/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/authentication/create-user-instance/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/authentication/create-user-instance/ - name: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/authentication/create-user-instance/ - name: "REST API" url: /en/api/code-reference/cloud-scale/authentication/reset-user-password/#ResetUserPassword repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Reset Password > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/overview/#prerequisites) to use this SDK method. After the successful registration of a user, you can prompt the end-user to [reset their password](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/implementation/#reset-a-users-password) using the following code snippet. > **Notes:** * **EmailID** and **Platform type** are the mandatory attributes. * When inviting a new user, 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 JSON Configuration You need to configure the JSON object to contain the registering the details of a particular user in the manner shown 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' }; ``` ### SDK Method to Reset the Password You need to pass the JSON object as argument to the `registerUser()` SDK method which returns a promise. The promise returned will be resolved to an object which is a JSON. While calling the `registerUser()` SDK method, a reset password link will be generated and sent to the user’s Email address. The `userManagement` reference used in the code snippet below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/get-component-instance/). ```javascript const 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); ```