---
title: "Api Cache Key Destroy"
method: DELETE
path: "/api/cache/key/{cache_key}/"
tags: ["logs"]
---

# Api Cache Key Destroy

`DELETE /api/cache/key/{cache_key}/`

GET/PATCH/DELETE /api/caches/<cache_key>/ — Retrieve, update, delete by cache_key.
GET/PATCH/DELETE /api/cache/<id>/ — Legacy alias, lookup by integer PK (JWT only).
GET/PATCH/DELETE /api/cache/key/<cache_key>/ — Legacy alias, lookup by cache_key.

JWT auth uses pk lookup when an integer id is supplied; otherwise (and for
API key auth) lookup is by cache_key_by_org_uuid.

## Path parameters

- `cache_key` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

---

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