c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

โœจ c8y(1) โ€” The Manual, But Make It Slay โœจ

okay so bestie, listen up ๐Ÿ‘‘ you're looking at c8y, and the specific vibe we're serving here is the manual for c8y-features-tenants-delete. yes, it's a mouthful, but it's literally the glow-up your feature toggles have been waiting for. this page is gonna walk you through it, no cap ๐Ÿ’…


๐ŸŒธ NAME ๐ŸŒธ

c8y-features-tenants-delete โ€” bestie, this one removes the feature toggle override for a tenant of the authenticated user. periodt. it's giving cleanup era โœจ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

c8y features tenants delete [flags]

that's the whole entrance, and it ate ๐ŸŽ€


๐Ÿ’– DESCRIPTION ๐Ÿ’–

Removes the feature toggle override for a tenant of authenticated user. that's it, that's the whole plot ๐Ÿ™ˆ you point it at a tenant, and the override? gone. deleted. not me being obsessed with a clean slate fr fr ๐Ÿ’…


๐ŸŽ€ OPTIONS ๐ŸŽ€

okay bestie, these are the flags just for this command, and they're iconic:

  • -h, --help[=false] โ€” shows you the help for delete. basically the "wait, what does this do again?" button, we've all been there ๐Ÿซถ
  • --key="" โ€” the Feature ID/Key. this is the ๐Ÿ”‘ to the whole thing, literally
  • --processingMode="" โ€” the Cumulocity processing mode. lowkey fancy, highkey important
  • --tenant="" โ€” the unique identifier of a Cumulocity tenant. and yes bestie, it accepts pipeline ๐ŸŒˆ so you can pipe it in like the main character you are

๐Ÿ’œ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿ’œ

ngl, this list is long, but every single one is a little gem โœจ don't skip, bestie, iykyk:

  • --abortOnErrors=10 โ€” aborts the batch when you hit the specified number of errors. it's giving "we stop when it gets messy" ๐Ÿ’€
  • --allowEmptyPipe[=false] โ€” don't fail when the piped input is empty (stdin). so chill of it fr fr
  • --cache[=false] โ€” enables cached responses. speed demon energy โญ
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body; empty indicates all values. a lil technical but we love her
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) 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 output is the terminal ๐ŸŽ€
  • --confirm[=false] โ€” prompts for confirmation. a lil "are you sure, bestie?" moment
  • --confirmText="" โ€” custom confirmation text. make it your own โœจ
  • --currentPage=0 โ€” the current page which should be returned
  • --customQueryParam=[] โ€” add custom URL query parameters, i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'
  • --debug[=false] โ€” set very verbose log messages. she's loud and proud ๐Ÿ“ฃ
  • --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. Don't send any data to the server ๐Ÿšซ smart bestie move
  • --dryFormat="markdown" โ€” dry run output format, i.e. json, dump, markdown or curl
  • --examples[=false] โ€” show examples for the current command. we love a visual learner ๐Ÿ’–
  • --filter=[] โ€” apply a client side filter to response before returning it to the user
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. she flattens, she slays ๐Ÿฆ‹
  • -f, --force[=false] โ€” do not prompt for confirmation. ignored when using --confirm โš ๏ธ so don't mix 'em up, bestie
  • -H, --header=[] โ€” custom headers, i.e. --header "Accept: value, AnotherHeader: myvalue"
  • --includeAll[=false] โ€” include all results by iterating through each page ๐Ÿ“„๐Ÿ“„๐Ÿ“„
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL. live on the edge a lil ๐Ÿ™ˆ
  • -l, --logMessage="" โ€” add custom message to the activity log. leave ur mark ๐Ÿ‘‘
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!) ๐Ÿšจ that warning 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
  • --noCache[=false] โ€” force disabling of cached responses (overwrites cache setting) ๐Ÿ’…
  • -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
  • --noProgress[=false] โ€” disable progress bars. no bars, just vibes
  • --noProxy[=false] โ€” ignore the proxy settings
  • -n, --nullInput[=false] โ€” don't read the input (stdin). useful if using in shell for/while loops ๐Ÿ”
  • -o, --output="table" โ€” output format, i.e. table, json, csv, csvheader
  • --outputFile="" โ€” save JSON output to file (after select/view) ๐Ÿ’พ
  • --outputFileRaw="" โ€” save raw response to file (before select/view) ๐Ÿ’พ
  • --outputTemplate="" โ€” jsonnet template to apply to the output
  • -p, --pageSize=5 โ€” maximum results per page
  • --progress[=false] โ€” show progress bar. this will also disable any other verbose output ๐Ÿซข noted
  • --proxy="" โ€” proxy setting, i.e. http://10.0.0.1:8080
  • -r, --raw[=false] โ€” show raw response. this mode will force output=json and view=off ๐ŸŒˆ raw and unfiltered, just like us
  • --retries=3 โ€” max number of attempts when a failed http call is encountered. she tries again, we respect the hustle ๐Ÿ’ช
  • --select=[] โ€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'
  • --session="" โ€” session configuration
  • --sessionMode="" โ€” override default session mode for a single command which would normally be disabled
  • -P, --sessionPassword="" โ€” override session password ๐Ÿ”
  • -U, --sessionUsername="" โ€” override session username, i.e. peter or t1234/peter (with tenant) ๐Ÿ˜Ž
  • --silentExit[=false] โ€” silent status codes do not affect the exit code
  • --silentStatusCodes="" โ€” status codes which will not 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. she tells you everything ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” use views when displaying data on the terminal. disable using --view off
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr
  • --withTotalElements[=false] โ€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13) ๐Ÿงฎ
  • -t, --withTotalPages[=false] โ€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages
  • --workers=1 โ€” number of workers. teamwork makes the dream work ๐Ÿค

๐ŸŒŸ EXAMPLE ๐ŸŒŸ

okay, here's the moment you've been waiting for, bestie โ€” a real live example:

$ c8y features tenants delete --key example --tenant t12345
Remove the feature override from a given tenant

see? clean, simple, devastating ๐Ÿ’…


๐ŸŒˆ SEE ALSO ๐ŸŒˆ


that's the whole page, bestie!! go forth and delete those overrides with confidence โ€” you've got this, fr fr ๐Ÿ’–โœจ๐ŸŽ€ this gem was brought to you by the c8y(1) manual, dated Jan 1980 (yes, a true vintage icon ๐Ÿ‘‘), and yes the source and version said c8y(1) both at the top and bottom, we love a consistent queen. slay! ๐Ÿ’…๐Ÿฆ‹๐Ÿ’œ

๐Ÿ“ฆ where this page comes from