---
title: "Complete updating the current email address"
method: POST
path: "/zephr/users/update-email/{otp}"
tags: ["Authentication"]
---

# Complete updating the current email address

`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`

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.

## Path parameters

- `otp` string, required

## Request body

- CompleteUpdateYourCurrentZephrEmailAddressRequest
  - `current_identifiers` Identifiers, required
    - `email_address` string
  - `validators` Validators, required
    - `password` string
    - `use_sso` boolean: When this is present there should be no identifiers in the body. The user is identified through a blaize_session cookie.

## Response `200`

OK. The email address was updated successfully.

- object
  - `message` string

## Other responses

- `400`: Bad Request. Returned if the provided OTP is invalid.
- `401`: Unauthorized. Returned if the provided validator is invalid.

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
