---
title: "Delete API key"
method: DELETE
path: "/api-keys/{apiKeyID}"
tags: ["API Keys"]
---

# Delete API key

`DELETE /api-keys/{apiKeyID}`

## Request

- Base URL: `https://api.mailforge.ai/public`
- URL: `https://api.mailforge.ai/public/api-keys/{apiKeyID}`
- Auth: API key in header `Authorization`

Permanently deletes an API key. Requires Firebase Bearer token.
Must be called without /public prefix

## Path parameters

- `apiKeyID` string, required

## Response `204`

Deleted

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/mailforge/apis/mailforge-api.md) - [All operations](https://skmtc.dev/mailforge/apis/mailforge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailforge/apis/mailforge-api/revisions/7d2c137f9fc3?raw)
