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

# Delete API Key



## OpenAPI

````yaml api-reference/openapi.json delete /api-keys/{id}
openapi: 3.0.0
info:
  title: OpenAPI Documentation Amisend
  version: 1.0.0
servers:
  - url: https://api.amisend.com
  - url: http://localhost:3015/api
security: []
tags: []
paths:
  /api-keys/{id}:
    delete:
      tags:
        - ApiKey
      summary: Delete API Key
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: ID of the API Key to delete
      responses:
        '200':
          description: API Key deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: API Key deleted successfully.
        '401':
          description: Unauthorized
        '404':
          description: API Key not found
        '500':
          description: Error deleting API Key
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````