Reset the user's password using a verification code from the forgot-password email.

Behavior: Completes the password reset flow by validating the verification code from the forgot-password email and setting the new password. For accounts pending approval, this also completes the email verification step.

Authorization: Public endpoint — no authentication required. The reset token serves as the credential.

Side Effects: Updates the user's password. For pending-approval accounts, also verifies the email address.

Error Scenarios: Returns 400 if the request is null or UserName is missing. Throws if the user is disabled or the reset token is invalid/expired.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A Nomad.Common.Models.Account.ResetPasswordRequestModel containing UserName (email), the Token from the reset email, and the NewPassword to set.

Request model for completing a password reset using a verification code.

string
required
length ≥ 1

Gets or sets the email address of the account to reset. Required.

string | null

Gets or sets the verification code received via the forgot-password email.

string | null

Gets or sets the new password to set for the account.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses
200

The password was successfully reset. The user can now log in with the new password.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json