v5

latestOpenAPI 3.1.12026-08-0826601.1 MB
LLM

Revokes a single LiteLLM key issued to the calling user. Provide either the key secret (key) or its alias (keyAlias) — exactly one. The key is revoked in LiteLLM; the llm_key ledger row is kept as an audit record. Returns 404 when the key has no ledger row or is owned by a different user, revoking nothing.

delete/v1/llm/keys

Headers

Authorizationstring

Request body

keystring
keyAliasstring

Response

Default Response