c8y(1)
π c8y-tenants β Cumulocity tenant π¦
okay so real quick before we dive in: this is a page from the c8y manual (that's the c8y(1) one), and it's all about the c8y-tenants command. Bestie, let's get into it β¨
πΈ SYNOPSIS πΈ
c8y tenants [flags]
that's it. that's the whole invocation. short and iconic fr fr π
π DESCRIPTION π
it's a REST endpoint to interact with Cumulocity tenants. that's the vibe β you're talking to the tenants endpoint, that's what this does π«Ά
β OPTIONS β
-h,--help[=false]β shows help fortenants. the classic. the goat. use it when you're lost π
π OPTIONS INHERITED FROM PARENT COMMANDS π
so these aren't this command's own flags β they're handed down from the parent command, and they work here too. there's a lot of them, so buckle up bestie π
--abortOnErrors=10β aborts the batch once you hit the specified number of errors--allowEmptyPipe[=false]β don't fail when the piped input (stdin) is empty π--cache[=false]β turns on cached responses--cacheBodyPaths=[]β tells the cache to only hash the selected paths inside the json body; empty means all values get hashed--cacheTTL="60s"β cache time-to-live (TTL) written 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 the output is the terminal β¨--confirm[=false]β prompts you for confirmation--confirmText=""β custom confirmation text--currentPage=0β the current page that should be returned--customQueryParam=[]β adds custom URL query parameters, i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'--debug[=false]β sets 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. sends absolutely nothing to the server π--dryFormat="markdown"β dry run output format, i.e.json,dump,markdownorcurl--examples[=false]β shows examples for the current command--filter=[]β applies a client side filter to the response before it goes back to you--flatten[=false]β flattens json output by replacing nested json properties with properties whose names are written in dot notation-f,--force[=false]β don't prompt for confirmation. this one gets ignored when you're using--confirm-H,--header=[]β custom headers, i.e.--header "Accept: value, AnotherHeader: myvalue"--includeAll[=false]β includes all results by iterating through each page π¦-k,--insecure[=false]β allows insecure server connections when using SSL-l,--logMessage=""β adds a custom message to the activity log--maxJobs=0β maximum number of jobs.0= unlimited (use with caution! β οΈ like genuinely, caution)--noAccept[=false]β ignores the Accept header, which removes the Accept header from requests; however PUT and POST requests will only see the effect--noCache[=false]β force-disables cached responses (overwrites the 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]β disables progress bars--noProxy[=false]β ignores the proxy settings-n,--nullInput[=false]β don't read the input (stdin). useful if you're using it in shellfor/whileloops π§-o,--output="table"β output format, i.e.table,json,csv,csvheader--outputFile=""β saves JSON output to a file (after select/view)--outputFileRaw=""β saves the raw response to a file (before select/view)--outputTemplate=""β jsonnet template to apply to the output-p,--pageSize=5β maximum results per page--progress[=false]β show a progress bar. this also disables any other verbose output--proxy=""β proxy setting, i.e.http://10.0.0.1:8080-r,--raw[=false]β show the raw response. this mode forcesoutput=jsonandview=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=""β overrides the default session mode for a single command, which would normally be disabled-P,--sessionPassword=""β override session password-U,--sessionUsername=""β override session username, i.e.peterort1234/peter(with tenant)--silentExit[=false]β silent status codes don't affect the exit code--silentStatusCodes=""β status codes that won't 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 with--view off--withError[=false]β errors get printed on stdout instead of stderr--withTotalElements[=false]β asks Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13)-t,--withTotalPages[=false]β asks Cumulocity to include the total pages in the response statistics under.statistics.totalPages--workers=1β number of workers
π SEE ALSO π
go read these too, they're all part of the family π«Ά
c8y(1)c8y-tenants-applications(1)c8y-tenants-assert(1)c8y-tenants-create(1)c8y-tenants-delete(1)c8y-tenants-disable(1)c8y-tenants-enable(1)c8y-tenants-get(1)c8y-tenants-list(1)c8y-tenants-tfa(1)c8y-tenants-update(1)
okay that's the whole page, no notes π oh and for the record β this one's dated Jan 1980 and it belongs to the c8y(1) manual. yes, 1980. we don't ask questions, we just slay πβ¨
go touch some grass and then come back and read your --help output, i believe in you π
π¦ 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