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.
OK. The email address was updated successfully.
Bad Request. Returned if the provided OTP is invalid.
Unauthorized. Returned if the provided validator is invalid.
{- "current_identifiers": {
- "email_address": "john.doe@company.com"
}, - "validators": {
- "password": "mysecurepassword123"
}
}
{- "message": "User Email updated"
}