c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… 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 at 0. πŸ“„
  • --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, markdown or curl. 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 --confirm is 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 is table. 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 is 5. 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 force output=json and view=off. raw response mode forces output=json and view=off. periodt. πŸ’…
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. default 3 attempts 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. peter or t1234/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 is 600s, 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 is auto; 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 is 1. πŸ› οΈ

πŸ“ EXAMPLE πŸ“

$ c8y smartgroups update --id 12345
Update smart group by id

πŸ¦‹ SEE ALSO πŸ¦‹

c8y-smartgroups(1)


that's the whole page, bestie πŸ’– β€” straight from the c8y(1) manual, dated Jan 1980. mwah! πŸŽ€βœ¨

πŸ“¦ where this page comes from