Skip to content

cub group remove-worker

cub group remove-worker

Remove a worker from a group

Synopsis

Remove a worker's bot user from a group. The worker is named as /, by ID, or by a slug only one space holds. The worker keeps the group until it next authenticates.

An organization admin or manager may change a group's workers. So may a member of the group who has Manage permission on the worker. 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 worker from a group
  cub group remove-worker my-group my-space/my-worker
cub group remove-worker <group> <worker> [flags]

Options

  -h, --help            help for remove-worker
  -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