Skip to content

cub group remove

cub group remove

Remove a service account from a group

Synopsis

Remove a member from a group. The member is named as in --permission: serviceaccount: names a service account. A service account keeps the group until it next authenticates.

An organization admin or manager may change a group's service accounts. So may a member of the group who has Manage permission on the service account. An admin or manager who is not a member names the group by ID, since only members can look a group up by slug.

Examples:

  # Remove a service account from a group
  cub group remove my-group serviceaccount:deploy-bot
cub group remove <group> <member> [flags]

Options

  -h, --help            help for remove
  -o, --output string   Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --quiet           No default output.
      --verbose         Detailed output, additive with default output

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO