---
title: "Delete Api Key"
method: DELETE
path: "/api/v1/mcp/api-key"
tags: ["MCP API Keys"]
---

# Delete Api Key

`DELETE /api/v1/mcp/api-key`

## Request

- Base URL: `https://backend.caspr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.caspr.ai/api/v1/mcp/api-key`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Delete the user's MCP API key.

## Response `200`

Successful Response

- McpApiKeyDeleteResponse
  - `success` boolean
  - `message` string, required

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/caspr/apis/casper-api.md) - [All operations](https://skmtc.dev/caspr/apis/casper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caspr/apis/casper-api/revisions/f9765e3aa00c?raw)
