api endpoints for listing and deleting caches