---
title: "Confirm email change"
method: POST
path: "/auth/user/confirm-email-change"
tags: ["Authentication"]
---

# Confirm email change

`POST /auth/user/confirm-email-change`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/user/confirm-email-change`
- Auth: HTTP bearer

Confirm email change with token sent to new address

## Request body

- object
  - `email_change_token` string, required

## Response `200`

Email changed successfully

- object
  - `message` string
  - `user` AuthUser
    - `id` string, uuid, required
    - `project_id` string, uuid
    - `email` string, email, required
    - `email_confirmed` boolean
    - `user_metadata` object: User-editable metadata
    - `app_metadata` object: Application-controlled metadata (read-only for users)
    - `avatar_url` string, uri: User avatar URL (from OAuth provider or manually set)
    - `status` 'active' | 'banned' | 'deleted', required
    - `banned_until` string, date-time, nullable: When temporary ban expires (null if not banned or permanent)
    - `last_sign_in_at` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Invalid or expired token, or no pending email change
- `401`: Not authenticated
- `403`: The pending email domain is no longer in `allowed_email_domains`. Re-checked here because the allowlist can narrow between the request and the confirmation.
- `409`: Email is now in use by another user

## Changes

- **2026-09-19** `3a6f365f3f35`: 5 breaking, 20 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `409`
  - …21 more
- **2026-08-27** `bb44e98aba2e`: 10 breaking, 12 warning, 1 info
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `409`
  - the `user` response's property type changed from `object` to no type for status `200`
  - …19 more
- **2026-07-27** `bb52784e098a`: 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `409` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/user/confirm-email-change/post.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
