Skip to content

Confirm Email Change

POST
/api/users/me/email/change/confirm

Confirm a pending email change with the token mailed to the new address.

The new address comes from current_user.pending_email (set server-side when the change was requested), never from client input — the token alone doesn’t encode it, so trusting a client-resubmitted email would let the confirm step cut over to an address that was never actually proven reachable.

Authorizations

Request Body required

Confirm a pending email change with the token mailed to the new address.

object
token
required
string

Responses

200

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string