Complete updating the current email address

Completes updating the user's email address. The user must provide the OTP received in the email to verify the new email address. 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
path Parameters
otp
required
string

The one-time password (OTP) received in the email.

Request Body schema: application/json
required
object (identifiers)
required
object (validators)
Responses
200

OK. The email address was updated successfully.

400

Bad Request. Returned if the provided OTP is invalid.

401

Unauthorized. Returned if the provided validator is invalid.

post/zephr/users/update-email/{otp}
Request samples
application/json
{
  • "current_identifiers": {
    },
  • "validators": {
    }
}
Response samples
application/json
{
  • "message": "User Email updated"
}