Authentication

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.

post/zephr/users/update-email/{otp}

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/users/update-email/{otp}
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Path parameters

otpstring required

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

Request body

Example request

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

Response

OK. The email address was updated successfully.

messagestring

Example response

{
  "message": "User Email updated"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.