---
title: "Revoke ALL API keys (leaked-key panic button; session-only)"
method: DELETE
path: "/v1/keys"
---

# Revoke ALL API keys (leaked-key panic button; session-only)

`DELETE /v1/keys`

## Request

- Base URL: `https://api.grundfast.dk`
- URL: `https://api.grundfast.dk/v1/keys`
- Auth: API key in cookie `gf_session`

Revokes every key for the caller’s customer at once. A password reset does not touch keys (they are independent machine credentials), so this is the explicit lever to cut a leaked key off. Returns { revoked: n }.

## Response `200`

OK

## Other responses

- `401`: Error

---

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