HashiCorp Cloud Platform
hcp iam groups delete
Command: hcp iam groups delete
The hcp iam groups delete
command deletes a group.
Once the group is deleted, all permissions granted to members based on group membership will also be revoked.
Usage
$ hcp iam groups delete GROUP_NAME [Optional Flags]
Examples
Delete a group using its name suffix:
$ hcp iam groups delete team-platform
Delete a group using its resource name:
$ hcp iam groups delete iam/organization/example-org/group/team-platform
Positional arguments
GROUP_NAME
- The name of the group to delete. 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