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

# Revoke Api Key

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

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/api-keys/{key_id}`
- Auth: HTTP bearer

Revoke (soft-delete) an API key. The key will stop working immediately.

## Path parameters

- `key_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
