type: object
description: |
    Body for `PUT /auth/account`. Each field is optional — only those
    supplied are updated. Email changes go through the email-update
    flow (`/auth/email/update/{token}`).
properties:
    username: { type: string }
    email:
        type: string
        format: email
        description: |
            Initiates an email-change flow — confirmation is required via
            `/auth/email/update/{emailUpdateToken}` before the change
            applies.
    marketingOptIn: { type: boolean }
    region: { type: string, description: Override the IP-derived region. }
example:
    username: "alice2026"
    marketingOptIn: false
