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

# Revoke Api Key

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

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/api-keys/{key_id}`
- Auth: none declared

Revoke (deactivate) an API key.

The key will no longer be usable for authentication.
This action cannot be undone.

## Path parameters

- `key_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
