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

# Revoke one API key

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

## Request

- Base URL: `https://xcatcher.top`
- URL: `https://xcatcher.top/api/v1/keys/{key_id}`
- Auth: HTTP bearer

## Path parameters

- `key_id` integer, required

## Response `200`

Revoked

- AnyJson

## Other responses

- `404`: Key not found

---

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