latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
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 sk-1234" -d '{"keys": ["key1", "key2"]}'
post/cache/delete
Response
Successful Response
{"stackTrail":"paths:/cache/delete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}