---
title: "Revoke API key"
method: DELETE
path: "/v1/keys/{id}"
tags: ["Keys"]
---

# Revoke API key

`DELETE /v1/keys/{id}`

## Request

- Base URL: `https://api.briefgate.dev`
- URL: `https://api.briefgate.dev/v1/keys/{id}`
- Auth: HTTP bearer

Permanently revoke an API key. The key immediately stops working.

## Path parameters

- `id` string, required

## Response `204`

Key revoked

## Other responses

- `401`: Missing or invalid API key
- `403`: Authenticated but not allowed to perform this action
- `404`: Resource not found

---

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