hcp organizations iam delete-binding
Command: hcp organizations iam delete-binding
The hcp organizations iam delete-binding
command deletes an IAM policy
binding for the organization. A binding consists of a principal and a role.
To view the existing role bindings, run hcp organizations iam read-policy
.
Usage
Examples
Delete a role binding for a principal previously granted role roles/viewer
:
Required flags
--member=PRINCIPAL_ID
- The ID of the principal to remove the role binding from.--role=ROLE_ID
- The role ID (e.g. "roles/admin", "roles/contributor", "roles/viewer") to remove the member from.