---
title: "ezgh iam groups remove-members"
description: "Remove users or bots from a group."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh iam groups remove-members

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh iam groups remove-members <group> <member>...
```

Remove users or bots from a group, one at a time, leaving the other members alone. A member is user:&lt;user ID or email&gt;, bot:&lt;bot ID, slug or name&gt;, or just the reference when it matches only one user or bot. Adding someone who's already a member changes nothing; removing someone who isn't is an error.

Part of [`ezgh iam groups`](/cli/reference/iam-groups).

## Examples

```sh
ezgh iam groups add-members ops user:ada@acme.test bot:deployer
```

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/iam-groups-remove-members/index.mdx
