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.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
required
object (identifiers)
required
object (identifiers)
required
object (validators)
Responses
200

OK. The confirmation email was sent successfully.

400

Bad Request. Returned if the provided email is invalid.

401

Unauthorized. Returned if the provided validator is invalid.

404

Not Found. Returned if the user is not found.

post/zephr/users/update-email
Request samples
application/json
{
  • "current_identifiers": {
    },
  • "new_identifiers": {
    },
  • "validators": {
    }
}
Response samples
application/json
{
  • "message": "Email with OTP sent to verify new email address"
}