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

# Revoke an API key

`DELETE /v1/keys/{id}`

## Request

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

Revocation is immediate and permanent. Requires an `Idempotency-Key` header (CONTRACT §1): the same key with the same body within 24 h replays the stored response; a different body returns 409 `idempotency_conflict`.

## Path parameters

- `id` string, required

## Response `204`

Revoked

## Other responses

- `404`: Default Response

---

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