--- title: "パスワードのリセット" url: https://docs.catalyst.zoho.com/ja/sdk/web/v4/cloud-scale/authentication/reset-password/ description: "このページでは、Webアプリケーションでユーザーアカウントのパスワードをリセットするメソッドについて、サンプルコードスニペットとともに説明します。" last_updated: 2026-02-23T12:39:41Z service: Cloud Scale type: general related_links: - name: "Get Component Instance - Web SDK" url: /ja/sdk/web/v4/cloud-scale/authentication/get-comp-instance - name: "Authentication" url: /ja/cloud-scale/help/authentication/introduction --- # パスワードのリセット ユーザーが正常に登録された後、以下のコードスニペットを使用してパスワードをリセットできます。 `forgotPassword()` メソッドが呼び出されると、パスワードリセットリンクが生成され、ユーザーのメールアドレスに送信されます。 ユーザーのメールアドレスのみが必須属性です。以下のコードスニペットで使用されている `userManagement` リファレンスは、[コンポーネントインスタンス](https://docs.catalyst.zoho.com/ja/sdk/web/v4/cloud-scale/authentication/get-comp-instance)です。 特定のユーザーの登録詳細を含むJSONオブジェクトは、以下のように作成します: ```javascript //Create an object with the details such as email Id, platform and redirect url var data = { "email_id": "amelia.burrows@zylker.com", "platform_type": "web", "redirect_url": "https://catalyst.zoho.com" }; ``` このオブジェクトは、`forgotPassword()` メソッドの引数として渡されます。 > **Note : ** 返されるPromiseは、contentキーに確認メッセージを含むオブジェクトに解決されます。 ```javascript //Reset password by passing the details. This in turn returns a promise. var userManagement = catalyst.userManagement; var forgotPromise = userManagement.forgotPassword(data); forgotPromise .then((response) => { console.log(response.content); }) .catch((err) => { console.log(err); }); ```