---
title: "Delete an API key"
method: DELETE
path: "/secrets/api/keys/{id}"
tags: ["Secrets"]
---

# Delete an API key

`DELETE /secrets/api/keys/{id}`

Use when revoking an API key (e.g. rotation or compromise). Permanently invalidates the key.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `404` — Resource not found
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/f0601ed97bd3/schema)
