# Remove member from a group in GitLab

> A Slack request removes a departing engineer from a top-level GitLab group so project access ends and the paid seat is freed.

Source: https://stepwork.com/marketplace/remove-member-from-a-group-in-gitlab

Automatically remove a member from a GitLab group from a Slack request with Stepwork, so repo access ends promptly and the seat is freed.

**Apps:** GitLab
**Starts with:** Slack request
**Use case:** Employee offboarding
**Best for:** IT Administrator, Engineering Manager
**Applications used:** GitLab, Slack
**Business outcome:** Risk reduction

## They left engineering. GitLab still lets them in.

Departed engineers often keep GitLab group membership until someone remembers to open the members page. Private projects stay reachable in the meantime.

Seat counts stay high for people who are gone. Audit asks when access ended, and there is no clean answer.

## Repo access ends promptly and the paid seat is freed

Stepwork opens the top-level group, removes the member, and frees the seat. The run records who asked and which group was cleared.

- The member is removed from the top-level group.
- Project access under that group ends.
- If the member cannot be found, the run stops.

## From Slack request to a removed GitLab member

A teammate posts the departing engineer’s GitLab username in Slack. Stepwork removes them from the group.

1. **Request it in Slack** (Slack): A teammate posts the GitLab username and group in the offboarding channel. That message starts the flow, and Stepwork records who asked and when.
2. **Open the group** (GitLab): Stepwork signs in to GitLab and opens the top-level group’s members page. If the member is not listed, the run stops.
3. **Remove the member** (GitLab): Stepwork removes the member from the group, revoking project access and freeing the seat, the same action a group owner takes by hand.
4. **Confirm and reply in Slack** (Slack): Stepwork checks that the person no longer appears in the member list, then posts the result back in Slack.

## Group removal stays on the path you recorded

A deterministic agent runs the GitLab remove path you recorded. Source access does not wait on the next admin who knows where the members page lives.

## Questions

**Q: How do I remove someone from a GitLab group automatically?**
Post their GitLab username and group in Slack. Stepwork removes them from the group and confirms they no longer appear in the member list.

**Q: Does this delete their GitLab account?**
No. It removes them from your group. Their personal GitLab account stays theirs.

**Q: How do I invite a replacement with the right role?**
Inviting a member with a role in GitLab is a separate onboarding flow.

---

This is the Markdown version of https://stepwork.com/marketplace/remove-member-from-a-group-in-gitlab, built from the same copy as the page. Everything about Stepwork for AI tools: https://stepwork.com/llms.txt. Book a demo: https://calendly.com/shaun-maclellan/1-1-w-shaun-stepwork
