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

# Revoke an API key

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

## Path parameters

- `keyId` string, uuid, required

## Response `204`

204

## Other responses

- `401` — Missing, invalid, expired, or revoked API key.
- `403` — The API key's user is not a member of the requested team.
- `429` — Rate limit reached — retry after the `Retry-After` header.

---

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