---
title: "Delete a cached response"
method: DELETE
path: "/api/caches/{cache_key}/"
tags: ["Caches"]
---

# Delete a cached response

`DELETE /api/caches/{cache_key}/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/caches/{cache_key}/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Delete one cached response by its organization-scoped cache key.

## Path parameters

- `cache_key` string, required

## Response `204`

Cached response deleted.

## Other responses

- `403`: The API key is missing, invalid or expired, or it can't delete cached responses.
- `404`: Cached response not found.

## Changes

- **2026-10-21** `c30bcb383ee8`: 1 breaking, 5 info
  - removed the success response with the status `200`
  - api operation id `caches_api_caches_destroy_2` removed and replaced with `api_caches_destroy_2`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Caches` added
  - …2 more
- **2026-10-02** `b830b79cfd52`: 3 info
  - removed the non-success response with the status `401`
  - added the required property `detail` to the response with the `403` status
  - added the required property `detail` to the response with the `404` status
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `api-caches-destroy-2` removed and replaced with `caches_api_caches_destroy_2`
- **2026-08-13** `4e064cf81dae`: 5 info
  - api tag `caches` added
  - api tag `logs` removed
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - …1 more

[Operation history](https://skmtc.dev/keywordsai/apis/respan-api/changes/api/caches/:cache_key/delete.md)

---

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