---
title: "Revoke an API key (immediately)"
method: DELETE
path: "/api-keys/{key_id}"
tags: ["Dashboard"]
---

# Revoke an API key (immediately)

`DELETE /api-keys/{key_id}`

## Request

- Base URL: `https://api.eu.doconda.com/v1`
- URL: `https://api.eu.doconda.com/v1/api-keys/{key_id}`
- Auth: HTTP bearer

## Path parameters

- `key_id` string, required

## Response `204`

Revoked.

## Other responses

- `401`: unauthorized (missing, unknown or revoked key; expired session).
- `403`: session_required: dashboard only.
- `404`: Not found.

---

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