---
title: "Revoke Mcp Api Key"
method: DELETE
path: "/api/mcp-api-keys/{key_id}"
---

# Revoke Mcp Api Key

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

Revoke an MCP API key.

Only the user who created the key can revoke it.
The key will immediately stop working for all MCP requests.

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/2e2a6de8aeda/schema)
