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

# Revoke an API key

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

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/account/api-keys/{key_id}`
- Auth: HTTP bearer

## Path parameters

- `key_id` string, required

## Response `200`

Key revoked

## Other responses

- `404`: Key not found

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
