---
title: "Revoke API key"
method: DELETE
path: "/api-keys/{id}"
tags: ["API Keys"]
---

# Revoke API key

`DELETE /api-keys/{id}`

## Request

- Base URL: `https://api.caliuapp.com`
- URL: `https://api.caliuapp.com/api-keys/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `caliu_session`

Permanently delete an API key. This cannot be undone.

## Path parameters

- `id` string, required: Resource ID

## Response `200`

API key revoked

- object
  - `ok` boolean, required

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/caliuapp/apis/caliu-api.md) · [All operations](https://skmtc.dev/caliuapp/apis/caliu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/caliuapp/apis/caliu-api/revisions/1ba4d3f687fe?raw)
