Change the password of the currently authenticated user.

Behavior: Updates the authenticated user's password. The current password must be supplied for verification along with the new password. The existing access token remains valid until expiration.

Authorization: Requires a valid Bearer token ([Authorize]).

Side Effects: Updates the user's password. The existing token remains valid until expiration.

Error Scenarios: Returns 400 if the request is null or the authenticated user's email cannot be determined. Throws if the user account is disabled or the current password is incorrect.

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

A Nomad.Common.Models.Account.ChangePasswordRequestModel containing the current Password for verification and the NewPassword to set.

string | null

Gets or sets the user's current password for verification.

string | null

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

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

Generated from available request content types

Allowed:
Responses
200

The password was successfully changed.

401

The caller is not authenticated.

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