> ## Documentation Index
> Fetch the complete documentation index at: https://cobo.com/products/agentic-wallet/manual/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke API key

> This operation permanently revokes a specific API key. The API key ID can be retrieved by calling the List API keys operation. Once revoked, the key cannot be used for authentication.

<Warning>This action cannot be undone.</Warning>



## OpenAPI

````yaml delete /api/v1/api-keys/{api_key_id}
openapi: 3.1.0
info:
  title: Cobo Agentic Wallet Service
  description: Unified wallet engine for human and agent principals
  version: 1.3.0
servers: []
security: []
paths:
  /api/v1/api-keys/{api_key_id}:
    delete:
      tags:
        - Identity
      summary: Revoke API key
      description: >-
        This operation permanently revokes a specific API key. The API key ID
        can be retrieved by calling the List API keys operation. Once revoked,
        the key cannot be used for authentication.


        <Warning>This action cannot be undone.</Warning>
      operationId: revoke_api_key
      parameters:
        - name: api_key_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              The UUID of the API key to revoke. You can retrieve this value by
              calling the List API keys operation.
            title: Api Key Id
          description: >-
            The UUID of the API key to revoke. You can retrieve this value by
            calling the List API keys operation.
        - name: X-API-Key
          in: header
          required: false
          schema:
            title: X-Api-Key
            type: string
            nullable: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse_dict_str__bool__'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedValidationError'
components:
  schemas:
    StandardResponse_dict_str__bool__:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        result:
          additionalProperties:
            type: boolean
          type: object
          title: Result
        suggestion:
          type: string
          title: Suggestion
          default: ''
        message:
          type: string
          title: Message
          default: ''
        meta:
          $ref: '#/components/schemas/PaginationMeta'
          nullable: true
      type: object
      required:
        - result
      title: StandardResponse[dict[str, bool]]
    WrappedValidationError:
      title: WrappedValidationError
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
          default: false
          title: Success
        error:
          type: object
          title: Error
          required:
            - detail
          properties:
            detail:
              type: array
              title: Detail
              items:
                $ref: '#/components/schemas/ValidationError'
    PaginationMeta:
      properties:
        total:
          title: Total
          type: integer
          nullable: true
        offset:
          title: Offset
          type: integer
          nullable: true
        limit:
          title: Limit
          type: integer
          nullable: true
        has_more:
          title: Has More
          type: boolean
          nullable: true
        after:
          title: After
          type: string
          nullable: true
        before:
          title: Before
          type: string
          nullable: true
      type: object
      title: PaginationMeta
      description: |-
        Pagination metadata for list responses.

        Supports both legacy offset-based and cursor-based pagination.
        Cursor fields (``has_more``, ``after``, ``before``) are populated for
        cursor-paginated endpoints.  Legacy fields (``offset``, ``limit``) are
        populated when the caller uses the deprecated ``offset`` parameter.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````