---
title: "Revoke an API key"
method: POST
path: "/v1/admin/keys/{id}/revoke"
tags: ["Admin"]
---

# Revoke an API key

`POST /v1/admin/keys/{id}/revoke`

## Request

- Base URL: `https://api.fairly.gg`
- URL: `https://api.fairly.gg/v1/admin/keys/{id}/revoke`
- Auth: API key in header `X-Api-Key`

Internal keys cannot be revoked through the API.

## Path parameters

- `id` integer, required

## Response `200`

OK

---

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