---
title: "Revoke Api Key"
method: DELETE
path: "/api/auth/api-keys/{key_id}"
tags: ["Authentication"]
---

# Revoke Api Key

`DELETE /api/auth/api-keys/{key_id}`

## Request

- Base URL: `https://api.pensiata.me` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pensiata.me/api/auth/api-keys/{key_id}`
- Auth: API key in header `X-API-Key`

Revoke an API key (admin only).

## Path parameters

- `key_id` integer, required

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pensiata/apis/bulgarian-pension-fund-data-api.md) · [All operations](https://skmtc.dev/pensiata/apis/bulgarian-pension-fund-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pensiata/apis/bulgarian-pension-fund-data-api/revisions/cd24747298ae?raw)
