Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a remove-gitlabproject command? #82

Open
github2020-g opened this issue Sep 8, 2023 · 2 comments
Open

Is there a remove-gitlabproject command? #82

github2020-g opened this issue Sep 8, 2023 · 2 comments
Assignees

Comments

@github2020-g
Copy link

I can use remove-gitlabgroup command successfully. When I want remove a gitlab project ,I can't find remove-gitlabproject.

Am I missing some command list?

PS /root> Get-Help Remove-GitlabProject

Name Category Module Synopsis


Remove-GitlabProjectHook Function GitlabCli …
Remove-GitlabProjectIntegration Function GitlabCli …
Remove-GitlabProjectMember Function GitlabCli …
Remove-GitlabProjectVariable Function GitlabCli …

https://docs.gitlab.com/ee/api/projects.html#delete-project

Thanks.

@chris-peterson
Copy link
Owner

typically I've used Invoke-GitlabProjectArchival (aka Archive-GitlabProject) to "soft delete" projects.

but I see no reason why not to add Remove-GitlabProject as well

@chris-peterson chris-peterson self-assigned this Sep 8, 2023
@github2020-g
Copy link
Author

typically I've used Invoke-GitlabProjectArchival (aka Archive-GitlabProject) to "soft delete" projects.

but I see no reason why not to add Remove-GitlabProject as well

Thank you chris, Invoke-GitlabProjectArchival is also a workround at present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants