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

# Cancel Order

> Cancels one open order by its hash. Verifies the order belongs to the caller's wallet before cancelling.



## OpenAPI

````yaml DELETE /api/v1/orders/{orderId}
openapi: 3.1.0
info:
  title: Vatic API
  version: 1.0.0
  description: >-
    Polymarket price targets, Hyperliquid prediction market data, market
    timestamps, fee calculators, and order management for systematic prediction
    market trading.
servers:
  - url: https://api.vatic.trading
    description: Production
security: []
paths:
  /api/v1/orders/{orderId}:
    delete:
      tags:
        - Orders
      summary: Cancel a single order
      description: >-
        Cancels one open order by its hash. Verifies the order belongs to the
        caller's wallet before cancelling.
      operationId: deleteOrder
      parameters:
        - name: orderId
          in: path
          required: true
          schema:
            type: string
            example: 0xabc123...
          description: Order hash (0x-prefixed).
        - name: walletId
          in: query
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Order cancelled
          content:
            application/json:
              example:
                ok: true
                orderId: 0xabc...
                result: {}
        '404':
          description: Order not found or does not belong to this wallet
      security:
        - ApiKey: []
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Required for order endpoints. Obtain your API key from the Vatic
        dashboard.

````