hcp iam groups members delete
Command: hcp iam groups members delete
The hcp iam groups members delete
command deletes a membership from a group.
All members that are deleted will no longer inherit any roles that have been granted to the group.
Usage
Examples
Delete members from the "platform-team":
Flags
-g, --group=NAME
- The name of the group to delete a membership from. The name may be specified as either:- The group's resource name. Formatted as
iam/organization/ORG_ID/group/GROUP_NAME
- The resource name suffix,
GROUP_NAME
.
- The group's resource name. Formatted as
-m, --member=ID [Repeatable]
- The ID of the user principal to remove membership from the group.