---
title: "POST /api/auth/request-email-change"
method: POST
path: "/api/auth/request-email-change"
tags: ["auth", "internal"]
---

# POST /api/auth/request-email-change

`POST /api/auth/request-email-change`

## Request body

- RequestEmailChangeRequest
  - `current_password` string, password, nullable — Current password — required if the user already has a password set. Not required for OIDC-only users.
  - `new_email` string, email, required — Address to move the account to. A confirmation link is sent there.

## Response `200`

Verification email sent to new address

- ApiResponse
  - `data` TupleUnit — No payload. Present only so the envelope keeps its shape.
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Other responses

- `400` — Invalid request
- `401` — Not authenticated

## Changes

- **2026-07-29** `51af15be596e` — 2 breaking, 1 info
  - the `current_password` request property type/format changed from `string, null`/`` to `string, null`/`password`
  - the `data/oneOf[#/components/schemas/TupleUnit]/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the request optional property `current_password` became write-only

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/auth/request-email-change/post.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/d061209476f3/schema)
