hardgcloud
Remove a specific IAM role from a service account on a project
command
gcloud projects remove-iam-policy-binding PROJECT_ID --member serviceAccount:SA_EMAIL --role ROLEalso accepted
gcloud projects remove-iam-policy-bindingcommand
gcloud projects remove-iam-policy-binding PROJECT_ID --member serviceAccount:SA_EMAIL --role ROLEalso accepted
gcloud projects remove-iam-policy-bindingTest your recall — not just your reading.
Practice with interactive quiz →