c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

๐Ÿ’… c8y(1) โ€” the tenantOptions glow-up, bestie edition

okay so you're looking at the c8y manual page, specifically the tenantoptions command, and honestly? it's giving "powerful but nobody told me what it does" energy. don't worry, i got you. this is the whole page, every flag, every default, no cap. read it, love it, use it. ๐Ÿซถ


โœจ NAME โœจ

c8y-tenantoptions โ€” Cumulocity tenantOptions, aka the place where your tenant's config lives. it's literally in the name, periodt.


โœจ SYNOPSIS โœจ

c8y tenantoptions [flags]

that's it. that's the whole vibe. you run c8y tenantoptions and then you throw flags at it like confetti. ๐ŸŽ€


โœจ DESCRIPTION โœจ

so this is a REST endpoint for interacting with Cumulocity tenantOptions. and what are those, you ask? options are category-key-value tuples that store your tenant configuration. think of it like a little filing cabinet: category is the drawer, key is the folder, value is the thing inside. ๐Ÿ—‚๏ธ

some categories of options let you create new ones (yay, freedom โœจ), but others are limited to a predefined set of keys โ€” so no, you can't just invent new keys in those, bestie, it's not that kind of party. ๐Ÿ’€

and here's the dramatic part: any option of any tenant can be defined as "non-editable" by the "management" tenant. after that, any PUT or DELETE requests made on that option by the owner tenant will result in a 403 error (Unauthorized). so the management tenant can lock the door and you're just standing there like ๐Ÿ˜ญ. respect the lock, fr fr.


โœจ OPTIONS โœจ

  • -h, --help[=false] โ€” help for tenantoptions. the classic "what does this even do" button. use it, it's free. ๐Ÿ’–

โœจ OPTIONS INHERITED FROM PARENT COMMANDS โœจ

these are the flags you get from the parent c8y command โ€” think of them as the family heirlooms, the shared group-chat lore. you don't have to use them all, but they're all here. ๐Ÿ”ฅ

  • --abortOnErrors=10 โ€” abort batch when reaching specified number of errors. like a "three strikes" rule but you set the number. ๐Ÿ’€
  • --allowEmptyPipe[=false] โ€” don't fail when piped input is empty (stdin). empty pipe? not the end of the world, apparently. ๐Ÿซถ
  • --cache[=false] โ€” enable cached responses. speed things up, you know the vibe. โšก
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body. empty indicates all values. so you can be picky about what gets cached. ๐ŸŽฏ
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m. how long the cache stays fresh before it expires. ๐Ÿ•
  • -c, --compact[=false] โ€” compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. so if you like your json messy, this is your flag. ๐ŸŒธ
  • --confirm[=false] โ€” prompt for confirmation. safety first, bestie. ๐Ÿ›‘
  • --confirmText="" โ€” custom confirmation text. personalize your "are you sure?" moment. ๐Ÿ’ฌ
  • --currentPage=0 โ€” current page which should be returned. for when you're deep in the pages. ๐Ÿ“–
  • --customQueryParam=[] โ€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. custom params, custom problems, custom solutions. โœจ
  • --debug[=false] โ€” set very verbose log messages. all the tea, all the details. ๐Ÿธโ˜•
  • --delay="0ms" โ€” delay after each request, i.e. 5ms, 1.2s. sometimes you just need a little pause between requests. โœ‹
  • --delayBefore="0ms" โ€” delay before each request, i.e. 5ms, 1.2s. warm-up before you go. ๐Ÿ
  • --dry[=false] โ€” dry run. don't send any data to the server. all the planning, none of the commitment. ๐Ÿ’…
  • --dryFormat="markdown" โ€” dry run output format. i.e. json, dump, markdown or curl. pick your aesthetic. ๐ŸŽจ
  • --examples[=false] โ€” show examples for the current command. show me how it's done, king. ๐Ÿ‘‘
  • --filter=[] โ€” apply a client side filter to response before returning it to the user. you get to be the gatekeeper. ๐Ÿšช
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested json? not on my watch. ๐Ÿช„
  • -f, --force[=false] โ€” do not prompt for confirmation. ignored when using --confirm. bold move, bestie. do it. ๐Ÿ”ฅ
  • -H, --header=[] โ€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". headers on headers on headers. ๐Ÿ“จ
  • --includeAll[=false] โ€” include all results by iterating through each page. collect the whole set, no pages left behind. ๐Ÿ—ƒ๏ธ
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL. dangerous? kinda. convenient? also yes. ๐Ÿ™ˆ
  • -l, --logMessage="" โ€” add custom message to the activity log. leave your mark on the logs. โœ๏ธ
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!). unlimited power, unlimited chaos. be careful, bestie. ๐Ÿ’€
  • --noAccept[=false] โ€” ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. nuanced, honestly. ๐Ÿ”
  • --noCache[=false] โ€” force disabling of cached responses (overwrites cache setting). cache off, fresh answers only. ๐Ÿšซ
  • -M, --noColor[=false] โ€” don't use colors when displaying log entries on the console. monochrome mode, very minimalist. ๐Ÿ–ค
  • --noLog[=false] โ€” disables the activity log for the current command. no receipts, no evidence. ๐Ÿซฃ
  • --noProgress[=false] โ€” disable progress bars. no bar, no stress. ๐Ÿšซ
  • --noProxy[=false] โ€” ignore the proxy settings. go direct, no middleman. ๐Ÿ›ฃ๏ธ
  • -n, --nullInput[=false] โ€” don't read the input (stdin). useful if using in shell for/while loops. silent mode for your input. ๐Ÿคซ
  • -o, --output="table" โ€” output format i.e. table, json, csv, csvheader. choose your aesthetic, bestie. ๐Ÿ“Š
  • --outputFile="" โ€” save JSON output to file (after select/view). the polished, post-processed version. ๐Ÿ“
  • --outputFileRaw="" โ€” save raw response to file (before select/view). the unedited director's cut. ๐ŸŽฌ
  • --outputTemplate="" โ€” jsonnet template to apply to the output. for when you want it exactly your way. ๐ŸŽจ
  • -p, --pageSize=5 โ€” maximum results per page. small bites, manageable vibes. ๐Ÿฐ
  • --progress[=false] โ€” show progress bar. this will also disable any other verbose output. progress bar says "i got this". ๐Ÿ“ˆ
  • --proxy="" โ€” proxy setting, i.e. http://10.0.0.1:8080. route it through your proxy bestie. ๐ŸŒ
  • -r, --raw[=false] โ€” show raw response. this mode will force output=json and view=off. raw, unfiltered, no edits. ๐Ÿ’…
  • --retries=3 โ€” max number of attempts when a failed http call is encountered. try again, try again, try again. three times. ๐Ÿ”
  • --select=[] โ€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. choose what you want. โœจ
  • --session="" โ€” session configuration. the session setup, the whole situation. ๐Ÿ”
  • --sessionMode="" โ€” override default session mode for a single command which would normally be disabled. one-command override, very specific, very iconic. ๐Ÿ’…
  • -P, --sessionPassword="" โ€” override session password. secret secrets. ๐Ÿ”‘
  • -U, --sessionUsername="" โ€” override session username. i.e. peter or t1234/peter (with tenant). identity is a spectrum. ๐ŸŽญ
  • --silentExit[=false] โ€” silent status codes do not affect the exit code. keep the exit code neutral, no drama. ๐Ÿซฅ
  • --silentStatusCodes="" โ€” status codes which will not print out an error message. not every error needs a speech. ๐Ÿค
  • --timeout="600s" โ€” request timeout duration, i.e. 60s, 2m. patience has a limit, and this is it. โณ
  • --totalPages=0 โ€” total number of pages to get. all the pages, or however many you asked for. ๐Ÿ“š
  • -v, --verbose[=false] โ€” verbose logging. say more, say everything. ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” use views when displaying data on the terminal. disable using --view off. views = the pretty presentation layer. ๐ŸŒˆ
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr. not the usual, but sometimes you need it. ๐Ÿ”€
  • --withTotalElements[=false] โ€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). count the elements, king. ๐Ÿงฎ
  • -t, --withTotalPages[=false] โ€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. page count, included. ๐Ÿ“„
  • --workers=1 โ€” number of workers. more workers = more parallel energy, but 1 is the default if you like it calm. ๐Ÿ‘ฏโ€โ™€๏ธ

โœจ SEE ALSO โœจ

these are the sibling commands, the rest of the family, the group chat members. go check them out when you're done here:


okay that's the whole page, every flag, every default, every warning, every SEE ALSO. you're officially smarter than 90% of people who just run the command and pray. no cap. ๐Ÿ’–โœจ

and yes, this page is dated Jan 1980 and lives under c8y(1) โ€” yes it's old, yes it's still iconic, yes it ate. now go configure your tenant options, bestie. ๐ŸŽ€๐Ÿฆ‹๐Ÿ’…

๐Ÿ“ฆ where this page comes from