cache

Delete cached artifacts

Changed on

Removes the cached files of name@version, or only the one named by filename, so the next request fetches them from the upstream again. Pushed archives are not touched; delete those through /api/hosted.

delete/api/cache/{ecosystem}/{name}/{version}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

ecosystemstring required

Ecosystem

namestring required

Package name as shown in the UI, e.g. com.google.guava:guava for Maven

versionstring required

Version

Query parameters

filenamestring

Delete only this file

Response

OK

deletedstring[]
purlstring

Changes