---
title: "DELETE /v1/llm/keys"
method: DELETE
path: "/v1/llm/keys"
tags: ["LLM"]
---

# DELETE /v1/llm/keys

`DELETE /v1/llm/keys`

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.

## Headers

- `Authorization` string

## Request body

- object
  - `key` string
  - `keyAlias` string

## Response `204`

Default Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/tessl/apis/tessl-api.md) · [All operations](https://skmtc.net/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tessl/tessl-api/versions/fbb186825642/schema)
