---
title: "Revoke API key"
method: DELETE
path: "/v1/api-keys/{keyId}"
tags: ["Organization"]
---

# Revoke API key

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

## Request

- Base URL: `https://api.abm.dev`
- URL: `https://api.abm.dev/v1/api-keys/{keyId}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `keyId` string, required

## Request body

- object
  - `reason` string: Audit log reason for the revocation

## Response `204`

API key revoked

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/abm/apis/abm-dev-api.md) · [All operations](https://skmtc.dev/abm/apis/abm-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/abm/apis/abm-dev-api/revisions/970c68654961?raw)
