---
title: "Clear cache by cache key"
method: DELETE
path: "/api/cache/clear-by-key/{cacheKey}"
tags: ["Cache"]
---

# Clear cache by cache key

`DELETE /api/cache/clear-by-key/{cacheKey}`

Clears a cache entry by its direct cache key.

## Path parameters

- `cacheKey` string, required

## Response `200`

Cache cleared successfully

- ClearCacheResponse — Clear cache response
  - `message` string

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

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