Change the email address of the currently authenticated user.

Behavior: Updates the authenticated user's email address to the new value provided. The current password must be supplied for verification. After a successful change, the user must re-authenticate with the new email address.

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

Side Effects: Changes the user's email address. The user must re-authenticate after the change.

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.

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

A Nomad.Common.Models.Account.ChangeEmailRequestModel containing the current Password for verification and the NewEmail to set.

string | null

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

string | null

Gets or sets the new email address to set for the user.

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

Generated from available request content types

Allowed:
Responses
200

The email was successfully changed. The user must re-authenticate with the new email.

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