Skip to content

Add support for unsharing projects with groups - #445

Merged
gpocentek merged 2 commits into
python-gitlab:masterfrom
esabouraud:feature-unshare
Mar 2, 2018
Merged

Add support for unsharing projects with groups#445
gpocentek merged 2 commits into
python-gitlab:masterfrom
esabouraud:feature-unshare

Conversation

@esabouraud

Copy link
Copy Markdown
Contributor

This PR introduces support for project.unshare()

It relies on the https://docs.gitlab.com/ee/api/projects.html#delete-a-shared-project-link-within-a-group API. I needed only the v4 API support but I also added v3 just in case (https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/projects.md). v4 is operational, and v3 may be but is untested.

@gpocentek
gpocentek merged commit 6c08266 into python-gitlab:master Mar 2, 2018
@esabouraud
esabouraud deleted the feature-unshare branch March 2, 2018 10:09
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

Successfully merging this pull request may close these issues.

2 participants