Herald
OpenapiAuth

Confirm email change with verification code

Completes the email change using the code that arrived via the frontend confirm-page link in the confirmation email; the frontend calls this endpoint with the user's current session, which must be the code owner.

GET
/api/auth/{realmId}/change_email/confirm/{changeCode}

Completes the email change using the code that arrived via the frontend confirm-page link in the confirmation email; the frontend calls this endpoint with the user's current session, which must be the code owner.

Path Parameters

realmId*string

Realm ID

changeCode*string

Change email confirmation code

Response Body

Email changed.

application/json
  1. response
message*string
Example Request
curl -X GET 'https://example.com/api/auth/string/change_email/confirm/string'
Example Response
{
  "message": "string"
}