---
title: "Verifies and updates new user email"
method: GET
path: "/api/auth/email/change/verify"
tags: ["Authentication"]
deprecated: true
---

# Verifies and updates new user email

`GET /api/auth/email/change/verify`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/auth/email/change/verify`
- Auth: one of:
  - API key in header `X-PL-AUTH`
  - API key in header `Authorization: PL-API-KEY`
  - API key in header `PL-API-KEY`
  - HTTP basic
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/auth/email/change/verify/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

DEPRECATED: This endpoint is not available when Keycloak authentication is turned on and will be removed in the future.

Verifies the new email is valid. Updates the user email with the newly validated one.

Token authentication required. Provided by /api/auth/email/change.

## Request body

- UpdatedUserEmail: Information for changing a user's email
  - `password` string, required: user's password to confirm identity
  - `oldEmail` string, required: Previous user email
  - `newEmail` string, required: New user email

## Response `200`

OK

- GenericMessageResponse: Generic response information
  - `message` string, required: Informative message relating to the specific response

---

[API](https://skmtc.dev/passivelogic/apis/passivelogic-http-api.md) - [All operations](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/revisions/28fce63bcdbb?raw)
