Request to change the email address for the authenticated user
Sends a confirmation link to the new email address. The link points to the first-party frontend confirm page, which the user must open in their logged-in browser so the frontend can call the confirm endpoint with the current session. Returns 400 when the realm has no usable email channel.
Sends a confirmation link to the new email address. The link points to the first-party frontend confirm page, which the user must open in their logged-in browser so the frontend can call the confirm endpoint with the current session. Returns 400 when the realm has no usable email channel.
Path Parameters
Realm ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Fresh re-authentication ticket obtained from /api/user/reauth/verify.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/auth/string/change_email/request" \ -H "Content-Type: application/json" \ -d '{ "newEmail": "string", "reauthToken": "string" }'{ "message": "string"}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}