c8y(1)
okay so bestie, welcome to the c8y(1) manual page โ yes, thatโs the manual name, and no, we are not copying the header line like a boring NPC. This is the user groups list corner of the c8y universe, and itโs about to make sense. ๐
๐ธ NAME ๐ธ
c8y-usergroups-list - Get user group collection. Thatโs the whole name, bestie โ itโs giving โgrab me the user group collectionโ energy. โจ
๐ฆ SYNOPSIS ๐ฆ
c8y usergroups list [flags]
๐ DESCRIPTION ๐
Get collection of (user) groups. Yep, groups โ plural โ and this command is the main character that fetches them. ๐
โจ OPTIONS โจ
-h,--help[=false]โ help forlist. Itโs the โwait, what does this do again?โ button, and we respect it. ๐ซถ--tenant=""โ Tenant. Drop your tenant right here, bestie. ๐
๐ OPTIONS INHERITED FROM PARENT COMMANDS ๐
--abortOnErrors=10โ Abort batch when reaching specified number of errors. Itโs the โokay, weโre outโ threshold. ๐ญ--allowEmptyPipe[=false]โ Donโt fail when piped input is empty (stdin). Empty pipe? Not a crisis. ๐--cache[=false]โ Enable cached responses. Speedy vibes, with a little memory. โญ--cacheBodyPaths=[]โ Cache should limit hashing of selected paths in the json body. Empty indicates all values. No paths picked means all of them, iykyk. ๐ง--cacheTTL="60s"โ Cache time-to-live (TTL) as a duration, i.e.60s,2m. Itโs literally a countdown for cache. โณ-c,--compact[=false]โ Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. Terminal beautification stays on unless you say otherwise. ๐--confirm[=false]โ Prompt for confirmation. A little โu sure?โ moment. ๐--confirmText=""โ Custom confirmation text. Put your own words in the confirmation pop-up. ๐ฌ--currentPage=0โ Current page which should be returned. Page zero is where we start, no cap. ๐--customQueryParam=[]โ add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Custom query energy, exactly as written. ๐ฅ--debug[=false]โ Set very verbose log messages. Itโs giving โtell me everythingโ mode. ๐--delay="0ms"โ delay after each request, i.e.5ms,1.2s. A little breather after every request. ๐ฎโ๐จ--delayBefore="0ms"โ delay before each request, i.e.5ms,1.2s. A little breather before every request. ๐ฌ๏ธ--dry[=false]โ Dry run. Donโt send any data to the server. Practice run, no actual server drama. ๐ญ--dryFormat="markdown"โ Dry run output format. i.e.json,dump,markdownorcurl. Pick your dry-run aesthetic. ๐จ--examples[=false]โ Show examples for the current command. Examples are self-care. ๐--filter=[]โ Apply a client side filter to response before returning it to the user. Filter it before it reaches you. ๐งผ--flatten[=false]โ flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Nested json? We flatten it with dot notation. ๐ซ-f,--force[=false]โ Do not prompt for confirmation. Ignored when using--confirm. No prompt, unless--confirmis in the chat. ๐ฅ-H,--header=[]โ custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". Custom headers, exactly like that. ๐จ--includeAll[=false]โ Include all results by iterating through each page. Every page gets an invite. ๐ฏ-k,--insecure[=false]โ Allow insecure server connections when using SSL. Yes, it says insecure โ tread carefully, bestie. โ ๏ธ-l,--logMessage=""โ Add custom message to the activity log. Leave a little note in the log. ๐--maxJobs=0โ Maximum number of jobs.0= unlimited (use with caution!). Unlimited jobs is iconic but also a little unhinged. ๐ฅ--noAccept[=false]โ Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Header gone โ but only PUT and POST requests see the effect. ๐ซฅ--noCache[=false]โ Force disabling of cached responses (overwrites cache setting). Cache off, override style. ๐ซ-M,--noColor[=false]โ Donโt use colors when displaying log entries on the console. Monochrome moment. ๐ค--noLog[=false]โ Disables the activity log for the current command. No log for this one, periodt. ๐ค--noProgress[=false]โ Disable progress bars. No little bar doing its thing. ๐ซ--noProxy[=false]โ Ignore the proxy settings. Proxy? Never heard of her. ๐-n,--nullInput[=false]โ Donโt read the input (stdin). Useful if using in shell for/while loops. No stdin reading โ shell loops will thank you. ๐-o,--output="table"โ Output format i.e.table,json,csv,csvheader. Pick your output fit. ๐๏ธ--outputFile=""โ Save JSON output to file (after select/view). Save it after select/view. ๐พ--outputFileRaw=""โ Save raw response to file (before select/view). Save it before select/view. ๐๏ธ--outputTemplate=""โ jsonnet template to apply to the output. Template glow-up for your output. ๐ช-p,--pageSize=5โ Maximum results per page. Five per page is the default. ๐๏ธ--progress[=false]โ Show progress bar. This will also disable any other verbose output. Progress bar on, extra verbose chatter off. ๐--proxy=""โ Proxy setting, i.e.http://10.0.0.1:8080. Proxy goes here. ๐-r,--raw[=false]โ Show raw response. This mode will forceoutput=jsonandview=off. Raw mode is raw mode โ it forcesoutput=jsonandview=off. ๐ฅฉ--retries=3โ Max number of attempts when a failed http call is encountered. Three attempts before we accept defeat. ๐ค--select=[]โ Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. Choose your properties, wildcards included. ๐ฏ--session=""โ Session configuration. Session config lives here. ๐--sessionMode=""โ Override default session mode for a single command which would normally be disabled. One-command session mode override. ๐๏ธ-P,--sessionPassword=""โ Override session password. Password override, quietly. ๐คซ-U,--sessionUsername=""โ Override session username. i.e.peterort1234/peter(with tenant). Username override, with tenant option. ๐ชช--silentExit[=false]โ Silent status codes do not affect the exit code. Silent status codes stay out of the exit codeโs business. ๐ค--silentStatusCodes=""โ Status codes which will not print out an error message. These status codes keep their error messages to themselves. ๐--timeout="600s"โ Request timeout duration, i.e.60s,2m. Ten minutes by default, bestie. โฑ๏ธ--totalPages=0โ Total number of pages to get. How many pages are we getting? This many. ๐-v,--verbose[=false]โ Verbose logging. More words, more detail, more vibes. ๐ฃ๏ธ--view="auto"โ Use views when displaying data on the terminal. Disable using--view off. Views on auto, unless you say--view off. ๐--withError[=false]โ Errors will be printed on stdout instead of stderr. Errors go to stdout instead of stderr. ๐ค--withTotalElements[=false]โ Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13). Total elements under.statistics.totalElements, and yes, introduced in10.13. ๐ข-t,--withTotalPages[=false]โ Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. Total pages under.statistics.totalPages. ๐--workers=1โ Number of workers. One worker by default, but you can change it. ๐ ๏ธ
๐ฆ EXAMPLE ๐ฆ
$ c8y usergroups list
Get a list of user groups for the current tenant
๐ SEE ALSO ๐
c8y-usergroups(1)โ the related page, go give it a look. ๐ซถ
thatโs the whole page, bestie โ source/version c8y(1), dated Jan 1980. mwah ๐
๐ฆ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms