> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# パスワードの変更

> パスワード変更メールをユーザーの指定したメールアドレスと`connection`に送信します。

`POST /dbconnections/change_password`

パスワード変更メールをユーザーの指定したメールアドレスと`connection`に送信します。

任意で、Organization固有の変数をサポートするためにOrganization IDを[カスタマイズされたメールテンプレート](https://auth0.com/docs/ja-jp/customize/email/email-templates#common-variables)に提供し、**リダイレクト先**URLに`organization_id`と`organization_name`のパラメーターを含めることができます。

\*\*注意：\*\*このエンドポイントはデータベース接続のみで機能します。

### 備考

* ユーザーがパスワード変更リンクをクリックすると、新しいパスワードの入力を求めるページにリダイレクトされます。
  このエンドポイントは3つのHTTP応答ヘッダーを返して、レート制限に関するデータを提供します。
  `X-RateLimit-Limit`: 1分間に許可される要求の数です。
  `X-RateLimit-Remaining`: 現在のレート制限枠に残っている要求の数です。新しい要求のたびに、この数が1つ減少します。1分が経過するごとに、要求数が戻され、この数が1ずつ加算されます。
  \*`X-RateLimit-Reset`: レート制限（`X-RateLimit-Limit`）がリセットされるまでの残り時間です。この値は[UTCエポック秒](https://en.wikipedia.org/wiki/Unix_time)単位です。

### 詳しい情報

* [ユーザーのパスワードを変更する](https://auth0.com/docs/ja-jp/authenticate/database-connections/password-change)
* [Auth0データベース接続でのパスワードの強度](https://auth0.com/docs/ja-jp/authenticate/database-connections/password-strength)
* [Auth0データベース接続でのパスワードオプション](https://auth0.com/docs/ja-jp/authenticate/database-connections/password-options)
* [Auth0 APIのレート制限ポリシー](https://auth0.com/docs/ja-jp/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations)

## Parameters

<ParamField body="client_id" type="string">
  クライアントの`client_id`です。
</ParamField>

<ParamField body="email" type="string">
  ユーザーのメールアドレスです。
</ParamField>

<ParamField body="connection" type="string">
  クライアントに構成されているデータベース接続の名前です。
</ParamField>

<ParamField body="organization" type="string">
  ユーザーに紐づけられたOrganizationの`organization_id`です。
</ParamField>

## Response

| Status | Description                |
| ------ | -------------------------- |
| 200    | パスワード変更メールが送信されました。        |
| 400    | 不正な要求です。パラメーターが欠けているか無効です。 |
| 404    | ユーザーが見つかりません。              |
