c8y(1)
π
c8y(1) β Cumulocity user references: the c8y-userreferences page π
πΈ NAME πΈ
c8y-userreferences β Cumulocity user references. that's the name, bestie, no cap β¨
π¦ SYNOPSIS π¦
c8y userreferences [flags]
π DESCRIPTION π
Okay so this is the REST endpoint for interacting with Cumulocity user references. that's the whole vibe: it's the little doorway for user-reference stuff, and the flags below are the keys π
π OPTIONS π
-h,--help[=false]β shows help foruserreferences. literally the "what does this thing do" button π«Ά
π OPTIONS INHERITED FROM PARENT COMMANDS π
These are the parent-command options that come along for the ride, bestie. same order, same flags, all the lore π
--abortOnErrors=10β abort the batch when it reaches the specified number of errors. default is10, so it's giving "we tried, now we stop" π--allowEmptyPipe[=false]β don't fail when piped input is empty (stdin). empty pipe? not a crisis π--cache[=false]β enable cached responses. yes, we're caching, and it's iconic β¨--cacheBodyPaths=[]β cache should limit hashing of selected paths in the json body. empty indicates all values. so[]means "hash all the things" π§--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. default is"60s"β³-c,--compact[=false]β compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. compact mode is lowkey neat πΈ--confirm[=false]β prompt for confirmation. the "are you sure, bestie?" moment π--confirmText=""β custom confirmation text. make the "are you sure" say whatever you want π--currentPage=0β current page which should be returned. starting at0, because we're page-zero girlies π--customQueryParam=[]β add custom URL query parameters, i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. custom params, custom destiny π₯--debug[=false]β set very verbose log messages. debug mode is loud and proud π£οΈ--delay="0ms"β delay after each request, i.e.5ms,1.2s. default"0ms"β±οΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. default"0ms"β±οΈ--dry[=false]β dry run. don't send any data to the server. we're just practicing, bestie π«§--dryFormat="markdown"β dry run output format, i.e.json,dump,markdownorcurl. default"markdown"π--examples[=false]β show examples for the current command. examples ate, honestly β¨--filter=[]β apply a client side filter to response before returning it to the user. filter it before it hits your eyeballs π--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested? not anymore πͺ-f,--force[=false]β do not prompt for confirmation. ignored when using--confirm. bold of you, but okay π-H,--header=[]β custom headers, i.e.--header "Accept: value, AnotherHeader: myvalue". headers are the accessory of HTTP π--includeAll[=false]β include all results by iterating through each page. all the pages, all the results, main character energy π-k,--insecure[=false]β allow insecure server connections when using SSL. yes, it says insecure; proceed with your eyes open π-l,--logMessage=""β add custom message to the activity log. leave a little note in the group chat π--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). the caution is real, bestie β οΈ--noAccept[=false]β ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Accept header? we don't know her π--noCache[=false]β force disabling of cached responses (overwrites cache setting). cache is cancelled, periodt π«-M,--noColor[=false]β don't use colors when displaying log entries on the console. monochrome moment π€--noLog[=false]β disables the activity log for the current command. no receipts today π--noProgress[=false]β disable progress bars. no little loading bar, just vibes π«§--noProxy[=false]β ignore the proxy settings. proxy? never met her πΈ-n,--nullInput[=false]β don't read the input (stdin). useful if using in shell for/while loops. loops said "no input, thanks" π-o,--output="table"β output format, i.e.table,json,csv,csvheader. default is"table"π--outputFile=""β save JSON output to file (after select/view). file goblin mode, but after select/view πΎ--outputFileRaw=""β save raw response to file (before select/view). raw and unfiltered, before select/view π¦--outputTemplate=""β jsonnet template to apply to the output. template girlie π¨-p,--pageSize=5β maximum results per page. default is5, cute and manageable π--progress[=false]β show progress bar. this will also disable any other verbose output. progress bar takes the aux, apparently π--proxy=""β proxy setting, i.e.http://10.0.0.1:8080. your proxy, your rules π-r,--raw[=false]β show raw response. this mode will forceoutput=jsonandview=off. raw is raw, no notes π₯--retries=3β max number of attempts when a failed http call is encountered. default3, because we try again, bestie π--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. choose your faves π--session=""β session configuration. session stuff, very demure β¨--sessionMode=""β override default session mode for a single command which would normally be disabled. just for one command, bestie π-P,--sessionPassword=""β override session password. password override, keep it cute and private π-U,--sessionUsername=""β override session username, i.e.peterort1234/peter(with tenant). username glow-up π--silentExit[=false]β silent status codes do not affect the exit code. silent but not shady π€«--silentStatusCodes=""β status codes which will not print out an error message. these codes are on mute π--timeout="600s"β request timeout duration, i.e.60s,2m. default is"600s"β--totalPages=0β total number of pages to get. how many pages? this many π-v,--verbose[=false]β verbose logging. tell me everything, bestie π£οΈ--view="auto"β use views when displaying data on the terminal. disable using--view off. auto view is the default vibe π--withError[=false]β errors will be printed on stdout instead of stderr. errors, but make it stdout π--withTotalElements[=false]β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). total elements, very stats-coded π-t,--withTotalPages[=false]β request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. total pages, periodt π--workers=1β number of workers. default1, one worker doing their thing π«Ά
π SEE ALSO π
c8y(1)c8y-userreferences-addUserToGroup(1)c8y-userreferences-deleteUserFromGroup(1)c8y-userreferences-listGroupMembership(1)
mwah π β this page is from c8y(1), dated Jan 1980. go be iconic with your user references, 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