## NAME

gdcloud organizations remove-iam-policy-binding - Remove a role from a member in an organization

## SYNOPSIS

```text
gdcloud organizations remove-iam-policy-binding ORGANIZATION_ID [flags]
```

## DESCRIPTION

Remove a role from a member in an organization. The member can be either a human user or a service account.

### EXAMPLES

```text

To remove the role "pr-test-role" for user "test-user@example.com" with IdP prefix "fop" in organization "org-1", run:

    gdcloud organizations remove-iam-policy-binding org-1 --role=pr-test-role --member=user:fop-test-user@example.com

To remove the role "pr-test-role" for service account "test-sa" of project "test-sa-project" in the organization "org-1", run:

    gdcloud organizations remove-iam-policy-binding org-1 --role=pr-test-role --member=serviceAccount:test-sa-project:test-sa

```

### REQUIRED FLAGS

```text
      --member string   The member to remove the binding for, defined by either user:EMAIL or serviceAccount:SERVICE_ACCOUNT_PROJECT:SERVICE_ACCOUNT_NAME. The email must contain the IdP prefix for the user.
      --role string     Role name to be removed from the member.
```

### GDCLOUD WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.