Skip to content

Confirm email change

POST
/v1/auth/confirm-email-change

Finish changing the account email: post the token from the link emailed to the NEW address. On success the login email switches to the new address and is marked verified; the old address stops working. If someone else registered the address in the meantime it comes back as a 409, and an invalid or already-used link returns a clear error without revealing which it was.

Request Body

application/json

Email-change confirmation payload (POST /auth/confirm-email-change, #2125) — the single-use token from the new-address link.

The single-use token from the email-change confirmation link.

Responses

OK

application/json

Email-change confirmation result (POST /auth/confirm-email-change, #2125).

true when the login email was flipped to the new address.

A short human-readable confirmation for the caller to surface.

Playground

Server
Body

Samples

Powered by VitePress OpenAPI