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

# Revoke Key

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

## Request

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

Revoke a key immediately. Requests with it fail with 401 from then on.

## Path parameters

- `key_id` string, required

## Response `204`

Key revoked.

## Other responses

- `400`: Malformed request.
- `401`: Missing or invalid credentials.
- `403`: The credentials do not permit this operation.
- `404`: The resource does not exist or is not visible to the caller.
- `409`: The resource is not ready, or Idempotency-Key was reused with a different request.
- `422`: Validation failed; see `error.param` and `error.details`.
- `429`: Rate limit exceeded; retry after the `Retry-After` header.
- `500`: Unexpected failure; safe to retry with the same Idempotency-Key.
- `503`: A dependency is temporarily unavailable; retry later.

## Changes

- **2026-09-06** `b7e901150c5c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api/changes/v1/api-keys/:key_id/delete.md)

---

[API](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api.md) - [All operations](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api/revisions/078f984358b9?raw)
