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

# Revoke Api Key

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

## Request

- Base URL: `https://mockupper.damdafa.com/mockupper`
- URL: `https://mockupper.damdafa.com/mockupper/api/v1/mcp/api-keys/{key_id}`
- Auth: HTTP bearer

Revokes an MCP API key for the authenticated user.

## Path parameters

- `key_id` string, required

## Headers

- `ProviderId` 'firebase' | 'google' | 'apple'
- `X-Provider-Id` 'firebase' | 'google' | 'apple'
- `X-Device-Id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Unauthorized
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/damdafa/apis/mockupper-api.md) · [All operations](https://skmtc.dev/damdafa/apis/mockupper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/damdafa/apis/mockupper-api/revisions/5713d43bfed1?raw)
