Reset user password

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/logto/doc/logto-experience-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Logto Experience API MCP server": {
  "url": "https://bump.sh/logto/doc/logto-experience-api/mcp"
}
Close
PUT /api/experience/profile/password

Reset the user's password. (ForgotPassword interaction only)

application/json

Body Required

  • password string Required

    The new password to update. The password must meet the password policy requirements and can not be the same as the current password.

Responses

  • 204

    The password has been successfully updated.

  • 400

    The current interaction event is not ForgotPassword. The password can only be updated through the ForgotPassword interaction.

  • 404

    The user has not been identified yet. The user must be identified before updating the password.

  • 422

    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 \
 --request PUT 'https://[tenant_id].logto.app/api/experience/profile/password' \
 --header "Content-Type: application/json" \
 --data '{"password":"string"}'
Request examples
{
  "password": "string"
}