hardgcloud
Disable a custom IAM role so it cannot be granted to new members
command
gcloud iam roles disable ROLE_ID --project PROJECT_IDalso accepted
gcloud iam roles disablecommand
gcloud iam roles disable ROLE_ID --project PROJECT_IDalso accepted
gcloud iam roles disablePart of the Google Cloud CLI (gcloud) — IAM category.
| Flag | Purpose |
|---|---|
--project | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →