From e7527f548681e4f9efd32f9c3da937ad74c68948 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 8 Oct 2021 18:13:02 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/members.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/api/members.md') 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 -- cgit v1.2.3