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

# DELETE /v1/llm/keys

`DELETE /v1/llm/keys`

Revokes a single LLM key issued to the calling actor. Provide either the key secret (`key`) or its alias (`keyAlias`): exactly one. Returns 404 when the key does not exist or is not owned by the caller, 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

## Changes

- **2026-09-15** `d50a02b79ad3` — 2 info
  - added the optional property `error/code` to the response with the `403` status
  - added the optional property `error/url` to the response with the `403` status

[Change history](https://skmtc.dev/tessl/apis/tessl-api/changes/v1/llm/keys/delete.md)

---

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