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

# Delete API Key

> Deletes the specified API Key. Once deleted, any requests authenticated with this key will be rejected.


<span style={{display: "flex", gap: "10px", flexDirection: "row", alignItems: "center"}}>
  <img src="https://cdn.peaka.com/badges/partner-api-key-badge.png" />
</span>


## OpenAPI

````yaml delete /projects/{projectId}/apiKeys/{apiKeyId}
openapi: 3.0.1
info:
  title: Peaka Gateway API
  description: Peaka Gateway API Documentation
  version: '1.0'
servers:
  - url: https://partner.peaka.studio/api/v1
    description: Default Server URL (US Zone)
  - url: https://partner.eu.peaka.studio/api/v1
    description: EU Zone
security:
  - bearerAuth: []
paths:
  /projects/{projectId}/apiKeys/{apiKeyId}:
    delete:
      tags:
        - Projects -- Api Key
      summary: Delete API Key
      description: >
        Deletes the specified API Key. Once deleted, any requests authenticated
        with this key will be rejected.
      operationId: deleteApiKey
      parameters:
        - name: projectId
          in: path
          description: Project ID
          required: true
          schema:
            type: string
          example: mtKDhe1U
        - name: apiKeyId
          in: path
          description: API Key ID
          required: true
          schema:
            type: string
          example: 21fd1a8d-88d5-4295-b792-5b2113138057
      responses:
        '200':
          description: API Key deleted
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Use the Authorization header with the value 'Bearer <apiKey>' to
        authenticate. Partner API Keys have full access; Project API Keys are
        limited to their project scope. Learn more:
        https://docs.peaka.com/api-reference/authentication
      scheme: bearer
      bearerFormat: Api Key

````