post
https://localhost:44395/api/account/change-email
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200The email was successfully changed. The user must re-authenticate with the new email.
401The caller is not authenticated.
