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

# Delete demo account (with purchase and audit trail)

> Permanently deletes a DEMO trading account owned by the authenticated user, along with its purchase record, order history and day snapshots. Funded and evaluation accounts cannot be deleted by a trader and return 403 `NOT_DEMO_ACCOUNT` — closing one of those is the prop firm's decision. Use with caution: there is no undo.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/user/demo/accounts/{accountId}/force
openapi: 3.0.0
info:
  title: Hyperprop Platform API
  version: 1.0.0
  description: >-
    REST API for the Hyperprop Trading Platform — provision evaluation and
    funded trading accounts, manage traders and plans, react to account
    lifecycle events via signed webhooks, and reconcile billing. Built for prop
    firms integrating from their own backend.


    Authentication, quick start, error handling, idempotency, pagination, custom
    metadata, webhooks, and the MCP connector are documented at
    https://docs.hyperprop.com.
  x-logo:
    url: https://app.hyperprop.com/logo-icon.svg
    altText: Hyperprop
    href: https://hyperprop.com
servers:
  - url: https://api.hyperprop.com/platform
    description: Production
security: []
tags:
  - name: Authentication
    description: >-
      User authentication - signup, signin, signout, password reset, email
      verification, OAuth, and MFA
  - name: User
    description: >-
      User account management - profile, notifications, agreements, dismissals,
      and audit logs. Requires Bearer token.
  - name: Organization
    description: >-
      Organization management - profile, team, trading accounts, plans, and
      rules. Supports **dual authentication**: Bearer JWT token (dashboard
      users) OR X-API-Key (programmatic access).
  - name: Demo
    description: >-
      Demo account management - import, list, and delete demo trading accounts.
      Requires Bearer token.
  - name: Market Data
    description: CME futures contracts and market data. Requires Bearer token.
  - name: System
    description: System endpoints - health checks and connectivity
paths:
  /v1/user/demo/accounts/{accountId}/force:
    delete:
      tags:
        - Demo
      summary: Delete demo account (with purchase and audit trail)
      description: >-
        Permanently deletes a DEMO trading account owned by the authenticated
        user, along with its purchase record, order history and day snapshots.
        Funded and evaluation accounts cannot be deleted by a trader and return
        403 `NOT_DEMO_ACCOUNT` — closing one of those is the prop firm's
        decision. Use with caution: there is no undo.
      operationId: deleteV1UserDemoAccountsAccountidForce
      parameters:
        - description: The demo account ID to delete
          x-format:
            guid: true
          name: accountId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Account deleted
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model782'
        '401':
          description: Authentication required
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model9'
        '403':
          description: Not your account, or not a demo account
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model783'
        '404':
          description: Account not found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model784'
        '500':
          description: An unexpected error occurred
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model5'
components:
  schemas:
    Model782:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          example: Account deleted successfully
        data:
          $ref: '#/components/schemas/Model781'
    Model9:
      type: object
      properties:
        success:
          type: boolean
          description: Always false on errors
          example: false
        statusCode:
          type: number
          example: 401
        error:
          type: string
          example: Unauthorized
        message:
          type: string
          example: Authentication required
        code:
          type: string
          description: Machine-readable error code — switch on this, not on message text
          example: UNAUTHORIZED
    Model783:
      type: object
      properties:
        statusCode:
          type: number
          example: 403
        error:
          type: string
          example: Forbidden
        message:
          type: string
          example: >-
            Only demo accounts can be deleted. Contact your prop firm to close a
            funded or evaluation account.
        code:
          type: string
          example: NOT_DEMO_ACCOUNT
    Model784:
      type: object
      properties:
        statusCode:
          type: number
          example: 404
        error:
          type: string
          example: Not Found
        message:
          type: string
          example: Account not found
        code:
          type: string
          example: ACCOUNT_NOT_FOUND
    Model5:
      type: object
      properties:
        success:
          type: boolean
          description: Always false on errors
          example: false
        statusCode:
          type: number
          example: 500
        error:
          type: string
          example: Internal Server Error
        message:
          type: string
          example: An unexpected error occurred
        code:
          type: string
          description: Machine-readable error code — switch on this, not on message text
          example: INTERNAL_ERROR
    Model781:
      type: object
      properties:
        deleted:
          type: boolean
          example: true
        accountId:
          type: string
          x-format:
            guid: true
        accountNumber:
          type: string
          example: ACC-M3X7K9P2

````

## Related topics

- [Delete demo account](/platform-api/demo/delete-demo-account.md)
- [Delete a trading plan](/platform-api/organization/delete-a-trading-plan.md)
- [Introduction](/introduction.md)
- [Import demo account](/platform-api/demo/import-demo-account.md)
- [List demo accounts](/platform-api/demo/list-demo-accounts.md)
