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

# Revoke an API key

`DELETE /api/v1/keys/{key_id}`

## Request

- Base URL: `https://api.sytecheck.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sytecheck.app/api/v1/keys/{key_id}`
- Auth: HTTP bearer

Revoke an API key. It stops working immediately and permanently; there is no way
to restore it. Requires an interactive session.

## Path parameters

- `key_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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