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

# Revoke an API key



## OpenAPI

````yaml DELETE /api/v1/operator/keys/{keyId}
openapi: 3.0.0
info:
  title: AgentChain & PRIOR API
  description: The centralized gateway for the decentralized compute network.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.agentchain.xyz
    description: Production
security: []
tags: []
paths:
  /api/v1/operator/keys/{keyId}:
    delete:
      tags:
        - operator
      summary: Revoke an API key
      operationId: OperatorController_revokeKey
      parameters:
        - name: keyId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponseDto'
      security:
        - bearer: []
components:
  schemas:
    SuccessResponseDto:
      type: object
      properties:
        success:
          type: boolean
      required:
        - success
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````