Reset user password
Reset the user's password. (ForgotPassword
interaction only)
Responses
-
The password has been successfully updated.
-
The current interaction event is not
ForgotPassword
. The password can only be updated through theForgotPassword
interaction. -
The user has not been identified yet. The user must be identified before updating the password.
-
The password can not be updated due to validation errors, check error message for more details.
-user.password_policy_violation:
The password does not meet the password policy requirements.
-user.same_password:
The new password is the same as the current password.
PUT /api/experience/profile/password
curl \
-X PUT https://[tenant_id].logto.app/api/experience/profile/password \
-H "Content-Type: application/json" \
-d '{"password":"string"}'
Request examples
{
"password": "string"
}