Skip to main content

This endpoint allows users to finalize changing their email address after verifying a confirmation code sent to

POST 

/v1/settings/change-email-finish

This endpoint allows users to finalize changing their email address after verifying a confirmation code sent to their current email. It checks if the code has expired and if it matches the one stored in the session. Upon successful validation, the user's email is updated in the database, and relevant session data is cleared.

Request

Body

required
    confirmation_code stringrequired
    session_id stringrequired

Responses

Email changed

Loading...