This endpoint facilitates the changing of an end user's password. One can choose to confirm their existing password prior to updating. Based on client settings configuration this endpoint will also check against a users previously saved passwords to prevent password reuse. The new password is validated against a repository of known database breaches for additional protection.

Send user change password link by email address

This is a sample API call for changing a user's password by email.

curl --request POST \
     --url https://id.eu.nextreason.com/idp/v1/account/change-password \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer qtvzrytnhndfuf9j' \
     --data '{
               "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
               "password": "[email protected]%s^GB",
               "password_confirm": "[email protected]%s^GB",
               "locale": "en-US"
             }'

Change existing password

This is the API call sample for initiating a change password email to the end user.

curl --request POST \
     --url https://id.eu.nextreason.com/idp/v1/account/change-password \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer qtvzrytnhndfuf9j' \
     --data '{
         "auth_type": "email",
         "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
         "password": "[email protected]%s^GB",
         "password_confirm": "[email protected]%s^GB",
         "user_id": "[email protected]"
      }'
Language
Authentication
Bearer
URL
Click Try It! to start a request and see the response here!