Implement Delete cache api.