Clear Cache API does not seem to be working

The Clear Cache API call does not seem to be working I issue a DELETE request to

https://circleci.com/api/v1/project/:username/:project/build-cache?circle-token=:token

And I receive the reply

{
  "status" : "build dependency caches deleted"
}

But if I then issue a POST request to

https://circleci.com/api/v1/project/:username/:project/tree/:branch?circle-token=:token

This build uses the caches, so it seems that they were not cleared. Anything I am doing wrong?

4 Likes

Having the same problem with this endpoint, anyone have insights about this ticket?