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

# Revoke API key

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

Revoke API key

## Response `204`

API key revoked

## Other responses

- `401` — Unauthorized — missing or invalid API key

---

[API](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1.md) · [All operations](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oilpriceapi/oil-price-api-v1/versions/5a5ce424cacc/schema)
