NAME
gdcloud organizations remove-iam-policy-binding - 从组织中的成员移除角色
SYNOPSIS
gdcloud organizations remove-iam-policy-binding ORGANIZATION_ID [flags]
说明
从组织中的成员移除角色。该成员可以是人类用户,也可以是服务帐号。
示例
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
必要标志
--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 范围标志
所有命令均可使用以下标志:--configuration、--format、--help、--project、--quiet。
如需了解详情,请参阅gdcloud CLI 参考文档概览页面。