I have created several repositories in GitLab.Now I want to delete or remove all repository at once. How can I do this? is there any API available?
Browse to the directory in your repository that you want to delete. In the top-right corner, click , then click Delete directory. Review the files you will delete. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.
Open the settings in the project settings under General. Now under Advanced select the setting "Expand". Here you will find the item "Archive project".
First you list all projects, get a list of IDs and loop over the list: for every project id you remove the project.
You can use a GitLab client (an API wrapper), they exist for almost any language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With