c8y(1)
π
c8y-smartgroups-update β the c8y(1) manual page π
okay bestie, welcome to the c8y(1) manual page for updating a smart group. it's giving βtiny command, lots of inherited optionsβ energy, and we're gonna get through every single one together. no cap. π«Ά
π NAME π
c8y-smartgroups-update β Update smart group.
β¨ SYNOPSIS β¨
c8y smartgroups update [flags]
πΈ DESCRIPTION πΈ
Update properties of an existing smart group. literally that's the whole vibe: you point it at a smart group and change its properties. π
π₯ OPTIONS π₯
-d,--data=[]β static data to be applied to body. accepts json or shorthand json, i.e.--data 'value1=1,my.nested.value=100'β yes, shorthand json is lowkey iconic like that.-h,--help[=false]β help for update. the βwait, what does this do again?β button. π--id=[]β Smart group ID (required) (accepts pipeline). it's required, bestie, so don't forget it. and yes, it accepts pipeline. π--newName=""β New smart group name. rename your smart group, main character style. π--processingMode=""β Cumulocity processing mode. exact setting, no extra lore. β¨--query=""β New query. give the smart group a fresh query. π¦--template=""β Body template. template time. π--templateVars=[]β Body template variables. the little variables that go with the template. π
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
these are the options it inherited from the parent commands β yes, all of them. stay with me, bestie. π
--abortOnErrors=10β Abort batch when reaching specified number of errors. it bails after that many errors. β οΈ--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). empty pipe? not a problem when this is on. π«Ά--cache[=false]β Enable cached responses. cache girlies rise. π--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values. so if it's empty, it's all values. okay? okay. β¨--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2m. it expires, periodt. β³-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. terminal = pretty,--compact= compact. π--confirm[=false]β Prompt for confirmation. it asks first, respectfully. π--confirmText=""β Custom confirmation text. your own confirmation message, your own vibe. π--currentPage=0β Current page which should be returned. page number, starting at0. π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. query param customization, slay. π₯--debug[=false]β Set very verbose log messages. very verbose. very demure. very mindful. π--delay="0ms"β delay after each request, i.e.5ms,1.2s. tiny pause after each request. π°οΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. tiny pause before each request. π°οΈ--dry[=false]β Dry run. Don't send any data to the server. pretend mode: on. no data leaves the house. πͺ--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. pick your dry-run output format. π--examples[=false]β Show examples for the current command. examples, bestie! yes! π--filter=[]β Apply a client side filter to response before returning it to the user. client-side filter before it gets back to you. π¦--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested json? flattened with dot notation. πͺ-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. no confirmation prompt. but if--confirmis in the mix, this one is ignored. β οΈ-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. all results, all pages. π-k,--insecure[=false]β Allow insecure server connections when using SSL. insecure SSL connections, use with awareness. π-l,--logMessage=""β Add custom message to the activity log. put your own message in the activity log. πͺ΅--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!). unlimited jobs, but the manual itself says use with caution, soβ¦ caution, bestie. β οΈ--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. it removes the Accept header from requests, but PUT and POST requests will only see the effect. noted. π--noCache[=false]β Force disabling of cached responses (overwrites cache setting). no cache, forcibly, and it overwrites the cache setting. π-M,--noColor[=false]β Don't use colors when displaying log entries on the console. no colors for console log entries. monochrome moment. π€--noLog[=false]β Disables the activity log for the current command. activity log: off for this command. π«--noProgress[=false]β Disable progress bars. no progress bars. none. zero. π--noProxy[=false]β Ignore the proxy settings. proxy settings? ignored. π«₯-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shell for/while loops. don't read stdin; useful in shell for/while loops. π-o,--output="table"β Output format i.e.table,json,csv,csvheader. default istable. pick your output. π--outputFile=""β Save JSON output to file (after select/view). save JSON after select/view. πΎ--outputFileRaw=""β Save raw response to file (before select/view). save raw response before select/view. ποΈ--outputTemplate=""β jsonnet template to apply to the output. jsonnet template, applied to the output. π§-p,--pageSize=5β Maximum results per page. default is5. tiny page, cute page. π--progress[=false]β Show progress bar. This will also disable any other verbose output. progress bar on, other verbose output 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 response mode forcesoutput=jsonandview=off. periodt. π--retries=3β Max number of attempts when a failed http call is encountered. default3attempts when an http call fails. π--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. pick exactly which properties come back. π―--session=""β Session configuration. session config goes here. πͺͺ--sessionMode=""β Override default session mode for a single command which would normally be disabled. override the default session mode for a single command that would normally be disabled. π«Ά-P,--sessionPassword=""β Override session password. password override. π€«-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant). username override, tenant style included. π€--silentExit[=false]β Silent status codes do not affect the exit code. silent status codes don't touch the exit code. π€--silentStatusCodes=""β Status codes which will not print out an error message. these status codes won't print an error message. π--timeout="600s"β Request timeout duration, i.e.60s,2m. default is600s, bestie. β±οΈ--totalPages=0β Total number of pages to get. set the total pages you want. π-v,--verbose[=false]β Verbose logging. talkative mode. π£οΈ--view="auto"β Use views when displaying data on the terminal. Disable using--view off. default isauto; turn it off with--view off. π--withError[=false]β Errors will be printed on stdout instead of stderr. errors to stdout instead of stderr. π--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). exact path, exact version note. β¨-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. default is1. π οΈ
π EXAMPLE π
$ c8y smartgroups update --id 12345
Update smart group by id
π¦ SEE ALSO π¦
that's the whole page, bestie π β straight from the c8y(1) manual, 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