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

# Revoke API key

`DELETE /api-key/{key_id}`

Mark an API key inactive and clear its Redis cache entry.

## Path parameters

- `key_id` string, required

## Response `200`

OK

- RevokeApiKeyResponse
  - `key_id` string
  - `message` string

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
