# Change user email

Updates the email address for the specified user.
**Parameters:** The `{id}` path parameter is the user's unique identifier (UUID).
**Requirements:**
- The user must be active
- The user must belong to the host associated with the authentication token

Endpoint: POST /direct/change-email/{id}
Version: v3
Security: directToken

## Security:

  - `directToken` (unknown)
    http bearer JWT

## Path parameters:

  - `id` (string, required)

## Request fields (application/json):

  - `email` (string, required)
    New email address
    Example: newuser@example.com

## Request examples:

  - `Change Email` (unknown)
    Change Email

## Response 204:

  - `204` (unknown)
    Email updated successfully

## Response 204 headers:

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 400 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 401 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 204 examples:

  - `No Content` (unknown)
    No Content

## Response 400 examples:

  - `User Not Found` (unknown)
    User Not Found

  - `Unauthorized Access` (unknown)
    Unauthorized Access

  - `Customer Not Found` (unknown)
    Customer Not Found

## Response 401 examples:

  - `Host Disabled` (unknown)
    Host Disabled

  - `Customer Disabled` (unknown)
    Customer Disabled

