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

# Revoke API Key

> Revokes the currently active API key. The key will immediately stop working for authentication.

<Warning>
  Revoking an API key is immediate and irreversible. Any integrations using this key will stop working. Create a new key before revoking the old one if you need uninterrupted access.
</Warning>


## OpenAPI

````yaml DELETE /auth/api-keys
openapi: 3.0.0
info:
  title: Limitless Exchange API
  description: >-
    Production-ready REST API for prediction market trading, portfolio
    management, and market data on Limitless Exchange (Base L2).
  version: '1.0'
  contact:
    name: API Support
    url: https://limitless.exchange
    email: help@limitless.network
servers:
  - url: https://api.limitless.exchange
    description: Production API
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Markets
    description: Browse, search, and analyze prediction markets
  - name: Market Navigation
    description: Navigation tree, market pages, and property filters
  - name: Trading
    description: Create, manage, and cancel orders
  - name: Portfolio
    description: Position tracking, trade history, and performance
  - name: API Tokens
    description: Scoped API token management for partner integrations
  - name: Partner Accounts
    description: Sub-account creation and allowance recovery for partner integrations
  - name: System
    description: Public API state and availability information
paths:
  /auth/api-keys:
    delete:
      tags:
        - Authentication
      summary: Revoke API key
      description: >-
        Revokes the currently active API key. The key will immediately stop
        working for authentication.
      operationId: ApiKeyController_revokeKey
      parameters: []
      responses:
        '200':
          description: API key revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: API key revoked successfully
        '400':
          description: No active API key found
        '403':
          description: API key management is only available via the UI

````