---
title: "DELETE /api/v1/api-keys/{apiKeyId}"
method: DELETE
path: "/api/v1/api-keys/{apiKeyId}"
tags: ["API Keys"]
---

# DELETE /api/v1/api-keys/{apiKeyId}

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

Revoke (deactivate) an API key

## Path parameters

- `apiKeyId` string, uuid, required — API key ID

## Headers

- `idempotency-key` string, uuid, required — Required for mutating calls. Use a V4 UUID. The server stores the first result for 24h and returns it on subsequent retries with the same key.

## Response `200`

Default Response

- RevokeApiKeyResponse

## Other responses

- `404` — Default Response

---

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