Reset Project IAM Policy
A 3-step recipe with Google Cloud Platform. We can help you get access.
Recipe · 3 steps
Reset Project IAM Policy
Overwrite a project IAM policy with a single owner binding.
- Read the current IAM policy to capture its etag before the overwrite.
- Overwrite the policy with a single owner binding, passing the captured etag for optimistic concurrency.
- Re-read the policy to confirm only the owner binding remains.
What you'll need to have ready
- resource: The project resource, e.g. projects/12345.
- ownerMember: The sole owner member to retain, e.g. user:admin@example.com.
For your developer
Arazzo workflow google-cloud-platform:reset-project-iam-policy, 3 operations: cloudresourcemanager.projects.getIamPolicy → cloudresourcemanager.projects.setIamPolicy → cloudresourcemanager.projects.getIamPolicy. Specs on APIs.io.