Skip to main content

Change user password

PUT 

/user/reset_password

Sets a new password for the user. Two authentication modes are supported:

Code-based (default) Provide email, the one-time code received by email (from POST /user/reset_password), and new_password.

JWT-based (optional) When "Allow Reset Password with JWT" is enabled in the plugin settings, provide a valid JWT and new_password. The code field is not required in this mode. Note: JWTs that were themselves issued via a reset-password flow cannot be reused to change a password again.

Requirements

  • Password reset must be enabled in the plugin settings.
  • If "Reset Password Requires Auth Code" is enabled, AUTH_KEY must be provided.

Request

Responses

Password changed successfully.