← IAM413 / 640
hardgcloud

Revoke a specific IAM role from a member on a project

command

gcloud projects remove-iam-policy-binding PROJECT_ID --member MEMBER --role ROLE

also accepted

gcloud projects remove-iam-policy-binding

Command breakdown

Part of the Google Cloud CLI (gcloud) — IAM category.

gcloudprojectsremove-iam-policy-bindingPROJECT_ID--memberMEMBER--roleROLE
FlagPurpose
--memberBoolean flag
--roleBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →