c8y(1)
hey bestie π welcome to c8y(1) β the manual page for c8y-users, aka the Cumulocity users command. itβs giving β¨ command-line main character energy β¨ and weβre gonna go through every flag together, no cap. π«Ά
πΈ NAME πΈ
c8y-users β Cumulocity users π
π¦ SYNOPSIS π¦
c8y users [flags]
β¨ DESCRIPTION β¨
okay so bestie, this is literally the REST endpoint to interact with Cumulocity users. thatβs the tea β β itβs the users endpoint, and itβs here to do users things. periodt. π
π OPTIONS π
-h,--help[=false]β help for users. yes bestie, this one just gives you the help glow-up forusersπβ¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the inherited flags, bestie β the parent commands pass them down like hand-me-downs but make them iconic π«. every single one is here:
--abortOnErrors=10β bail on the whole batch once you hit the specified number of errors (default is10) π--allowEmptyPipe[=false]β donβt throw a fit when the piped input (stdin) is empty β let it be empty, bestie π«§--cache[=false]β turn on cached responses so things feel speedier β¨--cacheBodyPaths=[]β limit cache hashing to selected paths inside the json body; an empty value means all values get hashed π§--cacheTTL="60s"β set the cache time-to-live (TTL) as a duration β like60sor2m, bestie β³-c,--compact[=false]β compact the output instead of pretty-printing it when youβre using json output; pretty print is the default when output is the terminal. lowkey neat π¦--confirm[=false]β ask for confirmation before doing the thing πββοΈ--confirmText=""β set your own custom confirmation text βοΈ--currentPage=0β pick which page should be returned β current page starts at0π--customQueryParam=[]β add your own custom URL query parameters, like--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'π--debug[=false]β crank the log messages up to very verbose mode β debug girlie behavior π--delay="0ms"β wait this long after each request β like5msor1.2sβ±οΈ--delayBefore="0ms"β wait this long before each request β like5msor1.2sβ³--dry[=false]β do a dry run β donβt send any data to the server, just vibe π»--dryFormat="markdown"β choose the dry-run output format βjson,dump,markdownorcurlπ--examples[=false]β show examples for the current command β yes bestie, examples are self-care π--filter=[]β apply a client-side filter to the response before it comes back to you πͺ--flatten[=false]β flatten the json output by replacing nested json properties with properties whose names are represented by dot notation β itβs giving flat and fabulous π«-f,--force[=false]β skip the confirmation prompt entirely; heads up, this is ignored when youβre using--confirmβ οΈ-H,--header=[]β add custom headers, like--header "Accept: value, AnotherHeader: myvalue"π¨--includeAll[=false]β include all the results by looping through every page β collect them all, bestie π-k,--insecure[=false]β allow insecure server connections when using SSL β only when you mean it, bestie π-l,--logMessage=""β drop a custom message into the activity log βοΈ--maxJobs=0β set the max number of jobs;0means unlimited β use with caution, bestie, seriously β οΈπ--noAccept[=false]β ignore the Accept header by removing it from requests; but heads up, only PUT and POST requests see the effect π«π¬--noCache[=false]β force cached responses off, overriding the cache setting π«β¨-M,--noColor[=false]β no colors when log entries show up on the console β minimal, monochrome, mood π€--noLog[=false]β turn off the activity log for the current command π«π--noProgress[=false]β disable progress bars β no little bars, just vibes π«π--noProxy[=false]β ignore proxy settings entirely π ββοΈ-n,--nullInput[=false]β donβt read input (stdin); useful when youβre using shellfor/whileloops π-o,--output="table"β choose your output format βtable,json,csv, orcsvheaderπ€--outputFile=""β save JSON output to a file, after select/view ποΈ--outputFileRaw=""β save the raw response to a file, before select/view ποΈ--outputTemplate=""β apply a jsonnet template to the output π¨-p,--pageSize=5β set the max results per page β default is5π--progress[=false]β show a progress bar; this also disables any other verbose output, so choose wisely πβ¨--proxy=""β set the proxy, likehttp://10.0.0.1:8080π-r,--raw[=false]β show the raw response; this mode forcesoutput=jsonandview=offπ₯©--retries=3β max number of attempts when an http call fails β default3, resilient bestie πͺ--select=[]β comma-separated list of properties to return; wildcards and globstar are accepted, like--select 'id,name,type,**.serialNumber'π―--session=""β session configuration, bestie π--sessionMode=""β override the default session mode for a single command that would normally be disabled ποΈ-P,--sessionPassword=""β override the session password π-U,--sessionUsername=""β override the session username, likepeterort1234/peter(with tenant) π§βπ»--silentExit[=false]β silent status codes wonβt affect the exit code π€«--silentStatusCodes=""β status codes that wonβt print an error message β quiet girlie behavior π€--timeout="600s"β set the request timeout duration, like60sor2mβ default600sβ°--totalPages=0β total number of pages to get π-v,--verbose[=false]β verbose logging, because sometimes you need the whole story π£οΈ--view="auto"β use views when displaying data on the terminal; disable it with--view offπ--withError[=false]β print errors on stdout instead of stderr π€β--withTotalElements[=false]β ask Cumulocity to include the total elements in the response statistics under.statistics.totalElementsβ introduced in10.13π-t,--withTotalPages[=false]β ask Cumulocity to include the total pages in the response statistics under.statistics.totalPagesπ--workers=1β set the number of workers β default1π·ββοΈ
π SEE ALSO π
go read these next, bestie β theyβre all linked in the c8y cinematic universe π¬:
c8y(1)c8y-users-create(1)c8y-users-delete(1)c8y-users-get(1)c8y-users-getInventoryRole(1)c8y-users-getUserByName(1)c8y-users-list(1)c8y-users-listInventoryRoles(1)c8y-users-listUserMembership(1)c8y-users-resetUserPassword(1)c8y-users-revokeTOTPSecret(1)c8y-users-update(1)
xoxo, your c8y(1) bestie π β Jan 1980 edition, slaying forever πβ¨
π¦ 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