> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Account

> Permanently delete the authenticated user account.



## OpenAPI

````yaml DELETE /api/account
openapi: 3.1.0
info:
  title: Macro by Mark API
  version: 1.0.0
  description: |
    Public and authenticated API for the Macro by Mark macroeconomics platform.
    Covers indicator data, forecasting, discovery catalog, labs, account
    management, alerts, and administrative endpoints.
  contact:
    name: Mark Jayson Farol
    email: farolmarkjayson1313@gmail.com
  license:
    name: Proprietary
servers:
  - url: https://macrobymark.com
    description: Production
security: []
tags:
  - name: Health
    description: Platform health checks
  - name: Indicators
    description: Curated indicator library and per-series data
  - name: Discovery
    description: Discovery catalog search and series detail
  - name: Forecasting
    description: Time-series forecasting engine
  - name: Labs
    description: Econometric testing tools (stationarity, diagnostics)
  - name: Providers
    description: Passthrough data provider proxies (FRED, BEA, BLS, etc.)
  - name: News & Calendar
    description: Economic news feed and release calendar
  - name: Account
    description: User account, profile, preferences, workspace
  - name: Billing
    description: Stripe-backed subscription billing
  - name: Alerts
    description: Watchlist alert delivery
  - name: Admin
    description: Administrative and cron endpoints (requires CRON_SECRET)
  - name: Chat
    description: AI chat assistant
  - name: Import
    description: Indicator import pipeline
paths:
  /api/account:
    delete:
      tags:
        - Account
      summary: Delete user account
      operationId: deleteAccount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - confirmation
              properties:
                confirmation:
                  type: string
                  enum:
                    - DELETE
      responses:
        '200':
          description: Account deleted
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: NextAuth.js session cookie

````