Change password
Change password while customer is signed in
The change password workflow is used when you need to change an existing password while the user is signed in to their profile.
About the Authorization header
You will need to include the customer's token in this call in order to complete it.
Send user a change password link by email address
curl --request POST \
--url https://dev.account.shell.com/idp/v1/account/change-password \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data '{
"client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
"password": "j4GwR?Cp8@%s^GB",
"password_confirm": "j4GwR?Cp8@%s^GB",
"locale": "en-US"
}'
Change existing password
curl --request POST \
--url https://dev.account.shell.com/idp/v1/account/change-password \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data '{
"auth_type": "email",
"client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
"password": "j4GwR?Cp8@%s^GB",
"password_confirm": "j4GwR?Cp8@%s^GB",
"user_id": "[email protected]"
}'
About the /change-password API call
More details can be found in the Next Identity Change Password API guide.
Updated 5 months ago