caching
caching

Cache Delete

Endpoint for deleting a key from the cache. All responses from litellm proxy have x-litellm-cache-key in the headers

Parameters:

  • keys: Optional[List[str]] - A list of keys to delete from the cache. Example {"keys": ["key1", "key2"]}
curl -X POST "http://0.0.0.0:4000/cache/delete"     -H "Authorization: Bearer $LITELLM_MASTER_KEY"     -d '{"keys": ["key1", "key2"]}'
post/cache/delete

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/cache/delete
  • Auth: API key in header x-litellm-api-key

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.