diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-08 21:13:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-08 21:13:02 +0300 |
commit | e7527f548681e4f9efd32f9c3da937ad74c68948 (patch) | |
tree | ef51227ccbbeb1accc8e3886870dbc6a168e8bb8 /doc/api/members.md | |
parent | f2ac9ee99ac6b1afc0edbc8621a05176dddd6a14 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/members.md')
-rw-r--r-- | doc/api/members.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/api/members.md b/doc/api/members.md index a30e2745ce2..3c54665408a 100644 --- a/doc/api/members.md +++ b/doc/api/members.md @@ -561,7 +561,12 @@ Example response: ## Remove a member from a group or project -Removes a user from a group or project. +Removes a user from a group or project where the user has been explicitly assigned a role. + +The user needs to be a group member to qualify for removal. +For example, if the user was added directly to a project within the group but not this +group explicitly, you cannot use this API to remove them. See +[Remove a billable member from a group](#remove-a-billable-member-from-a-group) for an alternative approach. ```plaintext DELETE /groups/:id/members/:user_id |