Commit 0340c12f authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'poffey21-master-patch-88278' into 'master'

Provide explicit instructions for user removal

See merge request gitlab-org/gitlab!71848
parents e684ebae 2ad4a900
...@@ -561,7 +561,12 @@ Example response: ...@@ -561,7 +561,12 @@ Example response:
## Remove a member from a group or project ## 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 ```plaintext
DELETE /groups/:id/members/:user_id DELETE /groups/:id/members/:user_id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment