shc user group rm
shc user group rm
Section titled “shc user group rm”remove a group from a tenant’s realm
Synopsis
Section titled “Synopsis”Remove a group from a tenant’s realm. Its members stay users of the realm, stop being members and lose the roles it carried. Removing a group that is not there changes nothing. A group SHC makes itself (shc-app-access, shc-admins, shc-users) is refused, and so is the group through which every manager of the tenant holds tenant:manage.
shc user group rm <group> [flags]Options
Section titled “Options” --force-last-admin remove even when it leaves the tenant with no manager or the platform with no admin (platform admins only) -h, --help help for rm -t, --tenant string target tenant (required for platform admins) -y, --yes skip confirmation promptOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc user group - manage the groups of a tenant’s realm
shc@docs:~$