c8y(1)
๐ 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 fortenantoptions. 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,markdownorcurl. 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, howeverPUTandPOSTrequests 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 shellfor/whileloops. 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 forceoutput=jsonandview=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.peterort1234/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 in10.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, but1is 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:
c8y(1)c8y-tenantoptions-create(1)c8y-tenantoptions-delete(1)c8y-tenantoptions-get(1)c8y-tenantoptions-getForCategory(1)c8y-tenantoptions-list(1)c8y-tenantoptions-update(1)c8y-tenantoptions-updateBulk(1)c8y-tenantoptions-updateEdit(1)
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
- 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