Skip to content

[Feature Request][CI/CD] Add delete option to single Package element

Description

It would be nice to have an option to delete single elements [file] from any package in Packages&Registries. Currently its only possible to delete the whole package at once. Sometimes in post-deploy time, its necessary to add into an exisiting package a new file which is intended to replace a former one and that can result in a mess (conflicting file names, redundant files etc.)

Proposal

My proposal is to add to the API a delete method which could work like this example:

curl -X DELETE https://gitlab.com/api/v4/projects/project_id/packages/maven/.../version_tag/file_name.json - H 'Private-Token:'token''

Alternatively it could also work with a file_id parameter.

Additionally a delete button next to every file in the package would also be much appreciated.

I hope this feature proposal will be considered in future development. Thanks

~feature

Edited by a a