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

# Delete API Key

> Delete an existing API key.

## Path Parameters

<ParamField path="api_key_id" type="string" required>
  The API key ID (not the API key itself).
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://YOUR_API_SUBDOMAIN.avicenna.dev/admin/api-keys/6c3c3816-b8ad-4279-8fe0-1d19a0640f96 \
    -H 'Authorization: Bearer avcna_sk_xxxxxxxxx'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "success": true,
      "message": "API key deleted"
  }
  ```
</ResponseExample>
