Skip to content

Project Package Files are Unable to be Deleted individually

In the packages API (https://docs.gitlab.com/ee/api/packages.html) you can delete a package, and list package files. However, there doesn't seem to be a way to delete a package file individually. This wouldn't necessarily make sense under most package formats, however Generic packages could use this feature. Since it is possible to upload a file with the same filename, package name, and package version, and the new file doesn't overwrite existing files at that path, it would be useful to be able to clean up these duplicative files.