auth v2

Change user's email

post/change-email

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/change-email
  • Auth: HTTP bearer and API key in header x-project-key

Request body

newEmailstring required

The new email address to set must be a valid email address

callbackURLstring nullable

The URL to redirect to after email verification

Response

Email change request processed successfully

statusboolean required

Indicates if the request was successful

message'Email updated' | 'Verification email sent' nullable

Status message of the email change process

Changes