gdcloud projects remove-iam-policy-binding

NOME

gdcloud projects remove-iam-policy-binding - Remove a role from a member in a project.

SINOSSI

gdcloud projects remove-iam-policy-binding PROJECT_ID [flags]

DESCRIZIONE

Rimuovere un ruolo da un membro di un progetto. Il membro può essere un utente umano o un account di servizio.

ESEMPI


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

    gdcloud projects remove-iam-policy-binding iam-test --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 project "iam-test", run:

    gdcloud projects remove-iam-policy-binding iam-test --role=pr-test-role --member=serviceAccount:test-sa-project:test-sa

FLAG OBBLIGATORI

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

GDCLOUD WIDE FLAGS

Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.

Per saperne di più, consulta la pagina Panoramica del riferimento di gcloud CLI.