Skip to main content
Manage groups For a detailed overview, please visit the group’s reference page.

group access-report

Show the access report for the referenced group Usage
Common Options Reference

group add-member

Add members to the referenced group Usage
Common Options Reference
  • Add a user to a group
  • Add a service account to a group using email

group audit

Retrieve audit trail events for the referenced group Usage
Common Options Reference

group clone

Create a clone of the referenced group; this will only duplicate its spec. Usage
Common Options Reference

group create

Create a new group Usage
After creating a new group, use the subcommand add-member to populate the group with users and/or service accounts.
Common Options Reference

group delete

Delete one or more referenced groups Usage
Common Options Reference

group edit

Edit the referenced group, as YAML, within an editor Usage
The default editor can be set by using the EDITOR environment variable.
Common Options Reference

group eventlog

Show the event log of the referenced group Usage
Common Options Reference

group get

Retrieve one or more referenced groups Usage
An empty reference will return all references
Common Options Reference
  • Get all groups
  • Get one group
  • Get multiple groups

group patch

Update the referenced group’s metadata using an input file Usage
Running this command with the option --file - sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., {"description": "My new description"} or description: My new description). To complete the update, press Control-D (or Control-Z if you are using Windows).
Common Options Reference

group permissions

Show the grantable permissions for a group object type Usage
Common Options Reference

group query

Find all the groups based on the given query Usage
Common Options Reference
Use the --match option to display all, none, or any of the results based on a given property or tag
  • Search for a group based on the name property
  • Search for a group based on the description property
  • Search for a group based on a tag
  • Search for a group based on a property and tag

group remove-member

Remove members from the referenced group Usage
Common Options Reference
The user and service account referenced in the examples below were previously added to the group
  • Remove a user to a group
  • Remove a service account to a group using email

group tag

Manage the tags belonging to one or more referenced groups Usage
Built-in tags, which begin with cpln/*, can’t be modified.
Common Options Reference
  • Add a tag to a group
  • Update same tag (after running the example above)
  • Remove tag (after running the example above)
  • Add same tag to multiple groups
  • Update same tag on multiple groups (after running the example above)
  • Remove same tag from multiple groups (after running the example above)

group update

Update properties of the referenced group Usage
Common Options Reference
  • The --set option allows the modification of the following group properties:
    • description
      • Description of the group
      • Type: string
    • tags
      • Tags (key=value) associated with the group
      • Type: string
    • memberLinks
      • Array of links belonging to members of the group
      • Type: string[]
  • For the examples below, the initial group is configured as:
  • Update a group’s description
  • Update a group’s tags
  • Add to a group’s member links. This examples adds the built-in controlplane service account
  • Remove from a group’s member links. This examples removes the built-in controlplane service account