c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

๐Ÿ’– NAME ๐Ÿ’–

okay so this whole page is about c8y-features-disable โ€” literally just Disable tenant feature ๐ŸŽ€ that's the whole vibe, that's the mission


โœจ SYNOPSIS โœจ

c8y features disable [flags]

bestie that's it, that's the invocation โœจ flags go after, we'll get to those ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Disable tenant feature.

yep. that's the description. short, sweet, iconic, does exactly what it says on the tin ๐Ÿ‘‘ no secret extra lore, no hidden chapters, just disable tenant feature and honestly? love that for us ๐ŸŒธ


๐Ÿ’… OPTIONS ๐Ÿ’…

okay these are the options that belong to this command specifically, the main-character ones ๐Ÿ’–

  • -d, --data=[] โ€” static data to be applied to body. accepts json or shorthand json, i.e. --data 'value1=1,my.nested.value=100' โ€” so yeah you can hand it straight-up json OR that cute shorthand, your call ๐Ÿซถ
  • -h, --help[=false] โ€” help for disable. it's giving "i'm lost, show me the way" energy ๐Ÿ˜ญ
  • --key="" โ€” Feature ID / Key (required) (accepts pipeline) โ€” ngl this one is not optional bestie, you NEED it, it's literally marked required ๐Ÿ’€ and yes it accepts pipeline
  • --processingMode="" โ€” Cumulocity processing mode โœจ
  • --template="" โ€” Body template ๐ŸŽ€
  • --templateVars=[] โ€” Body template variables ๐Ÿฆ‹

๐ŸŒˆ OPTIONS INHERITED FROM PARENT COMMANDS ๐ŸŒˆ

these are the ones we inherited from the parent command โ€” the family heirlooms ๐Ÿ’œ they all still work, every single one, so let's go:

  • --abortOnErrors=10 โ€” Abort batch when reaching specified number of errors ๐Ÿ›‘
  • --allowEmptyPipe[=false] โ€” Don't fail when piped input is empty (stdin) ๐Ÿ™ˆ
  • --cache[=false] โ€” Enable cached responses ๐Ÿ—‚๏ธ
  • --cacheBodyPaths=[] โ€” Cache should limit hashing of selected paths in the json body. Empty indicates all values
  • --cacheTTL="60s" โ€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m โณ
  • -c, --compact[=false] โ€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal โœจ
  • --confirm[=false] โ€” Prompt for confirmation ๐Ÿ™‹โ€โ™€๏ธ
  • --confirmText="" โ€” Custom confirmation text ๐Ÿ’ฌ
  • --currentPage=0 โ€” Current page which should be returned ๐Ÿ“„
  • --customQueryParam=[] โ€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue' ๐Ÿ”—
  • --debug[=false] โ€” Set very verbose log messages ๐Ÿ›
  • --delay="0ms" โ€” delay after each request, i.e. 5ms, 1.2s โฑ๏ธ
  • --delayBefore="0ms" โ€” delay before each request, i.e. 5ms, 1.2s โฑ๏ธ
  • --dry[=false] โ€” Dry run. Don't send any data to the server ๐Ÿœ๏ธ
  • --dryFormat="markdown" โ€” Dry run output format. i.e. json, dump, markdown or curl
  • --examples[=false] โ€” Show examples for the current command ๐Ÿ“š
  • --filter=[] โ€” Apply a client side filter to response before returning it to the user ๐Ÿงน
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation ๐Ÿช†
  • -f, --force[=false] โ€” Do not prompt for confirmation. Ignored when using --confirm ๐Ÿ’ช
  • -H, --header=[] โ€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue" ๐Ÿ“ฎ
  • --includeAll[=false] โ€” Include all results by iterating through each page ๐Ÿ“œ
  • -k, --insecure[=false] โ€” Allow insecure server connections when using SSL โš ๏ธ
  • -l, --logMessage="" โ€” Add custom message to the activity log โœ๏ธ
  • --maxJobs=0 โ€” Maximum number of jobs. 0 = unlimited (use with caution!) ๐Ÿ”ฅ so likeโ€ฆ be careful okay
  • --noAccept[=false] โ€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect
  • --noCache[=false] โ€” Force disabling of cached responses (overwrites cache setting) ๐Ÿšซ
  • -M, --noColor[=false] โ€” Don't use colors when displaying log entries on the console ๐ŸŽจ
  • --noLog[=false] โ€” Disables the activity log for the current command ๐Ÿ“•
  • --noProgress[=false] โ€” Disable progress bars ๐Ÿ“Š
  • --noProxy[=false] โ€” Ignore the proxy settings ๐Ÿ•ณ๏ธ
  • -n, --nullInput[=false] โ€” Don't read the input (stdin). Useful if using in shell for/while loops ๐Ÿ”
  • -o, --output="table" โ€” Output format i.e. table, json, csv, csvheader ๐Ÿ“‹
  • --outputFile="" โ€” Save JSON output to file (after select/view) ๐Ÿ’พ
  • --outputFileRaw="" โ€” Save raw response to file (before select/view) ๐Ÿ’พ
  • --outputTemplate="" โ€” jsonnet template to apply to the output ๐Ÿงต
  • -p, --pageSize=5 โ€” Maximum results per page ๐Ÿ“„
  • --progress[=false] โ€” Show progress bar. This will also disable any other verbose output ๐Ÿ“ˆ
  • --proxy="" โ€” Proxy setting, i.e. http://10.0.0.1:8080 ๐ŸŒ
  • -r, --raw[=false] โ€” Show raw response. This mode will force output=json and view=off ๐Ÿฅฉ
  • --retries=3 โ€” Max number of attempts when a failed http call is encountered ๐Ÿ”
  • --select=[] โ€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber' ๐ŸŽฏ
  • --session="" โ€” Session configuration ๐Ÿ”‘
  • --sessionMode="" โ€” Override default session mode for a single command which would normally be disabled
  • -P, --sessionPassword="" โ€” Override session password ๐Ÿคซ
  • -U, --sessionUsername="" โ€” Override session username. i.e. peter or t1234/peter (with tenant) ๐Ÿ‘ค
  • --silentExit[=false] โ€” Silent status codes do not affect the exit code ๐Ÿค
  • --silentStatusCodes="" โ€” Status codes which will not print out an error message ๐Ÿ™Š
  • --timeout="600s" โ€” Request timeout duration, i.e. 60s, 2m โฐ
  • --totalPages=0 โ€” Total number of pages to get ๐Ÿ“š
  • -v, --verbose[=false] โ€” Verbose logging ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” Use views when displaying data on the terminal. Disable using --view off ๐Ÿ‘€
  • --withError[=false] โ€” Errors will be printed on stdout instead of stderr ๐Ÿšจ
  • --withTotalElements[=false] โ€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13) ๐Ÿ”ข
  • -t, --withTotalPages[=false] โ€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages ๐Ÿ”ข
  • --workers=1 โ€” Number of workers ๐Ÿ› ๏ธ

๐ŸŒธ EXAMPLE ๐ŸŒธ

okay here's the glow-up example, literally just:

$ c8y features disable --key example

Disable a feature in the current tenant โœจ see? --key doing its required-option thing, slay ๐Ÿ’…


๐Ÿซถ SEE ALSO ๐Ÿซถ

  • c8y-features(1) โ€” the parent, the origin story, go check it out bestie ๐Ÿ’œ

fr fr that's the whole page ๐Ÿ’– go disable some features, be the main character, and remember: --key is required, no cap ๐ŸŽ€

and that's a wrap, bestie ๐Ÿฆ‹ this little beauty came from the source/version situation and is dated Jan 1980 ๐Ÿ’ซ catch you in the next manpage โ€” mwah ๐Ÿ’‹๐ŸŒˆ

๐Ÿ“ฆ where this page comes from