Remove a role from a member in an organization. The member can be either a human user or a service account.
EXAMPLES
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
--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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-12 UTC."],[[["This command `gdcloud organizations remove-iam-policy-binding` removes a specific role from a designated member within an organization."],["The member can be a human user, specified by their email with an IdP prefix, or a service account, defined by the project and account name."],["The `--member` flag specifies the user or service account, while the `--role` flag identifies the role to be removed."],["Users can run the command to remove a role for a human user or a service account by following the provided example format and command structure."],["Several other flags are provided at the command line level such as `--configuration`, `--format`, `--help`, `--project`, `--quiet`."]]],[]]