---
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}`

## Request

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

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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
