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

# Revoke an API key

`DELETE /api-keys/{id}`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/api-keys/{id}`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `id` string, required

## Other responses

- `404`: Key not found or not owned by user

---

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