v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Authentication

Start updating the current email address

Updates the user's email address. The user will receive an email with a one-time password (OTP) to verify the new email address. In order to finish the process, the user must provide the OTP to the /zephr/users/update-email/{otp} endpoint. The difference between this endpoint and the /blaize/users/update-email endpoint is that this endpoint requires the extra layer of authentication through the required validator.

post/zephr/users/update-email

Request body

Example request

{
  "current_identifiers": {
    "email_address": "john.doe@company.com"
  },
  "new_identifiers": {
    "email_address": "doe.john@company.com"
  },
  "validators": {
    "password": "mysecurepassword123"
  }
}

Response

OK. The confirmation email was sent successfully.

messagestring

Example response

{
  "message": "Email with OTP sent to verify new email address"
}