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

# Revoke Api Key

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

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/admin/api-keys/{key_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Revoke (disable) an API key.
Access validated based on user's role and scope.

## Path parameters

- `key_id` integer, required

## Query parameters

- `tenant_id` string, required: Tenant ID the API key belongs to

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
