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 ROLE

also accepted

gcloud projects remove-iam-policy-binding

Test your recall — not just your reading.

Practice with interactive quiz →