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

# Revoke an API key

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

## Request

- Base URL: `https://api.ditto.audio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ditto.audio/v1/api-keys/{id}`
- Auth: HTTP bearer

Takes effect immediately. The row is kept (not deleted) so historical usage still resolves to a key name in your analytics.

## Path parameters

- `id` string, required

## Response `200`

---

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