c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

โœจ c8y(1) โœจ

hey bestie! ๐Ÿ’– this is the manual page for the c8y commandโ€”yes, that c8y, the Cumulocity CLI that's literally the main character of your terminal. buckle up, we're diving into c8y-events-delete and it's giving "clean up your event situation" energy. ๐Ÿงนโœจ


๐Ÿฆ‹ NAME ๐Ÿฆ‹

c8y-events-delete โ€” delete an event, periodt. ๐Ÿ’… you want an event gone? this is how you do it, no cap.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

c8y events delete [flags]

that's the whole vibe. you run this bad boy with some flags and the event is outta there. ๐Ÿซถ


๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

so like, you have an existing event in Cumulocity and you're just done with it? we've all been there. ๐Ÿ™ˆ this command literally deletes it. that's the whole thing. no complicated lore, just pure "bye bestie" energy. ๐Ÿ”ฅ


๐ŸŽ€ OPTIONS ๐ŸŽ€

okay so here are the options that are specific to this commandโ€”like, the ones that make delete do its delete thing. ๐Ÿ‘‘

  • -h, --help[=false] โ€” shows help for delete. classic. you love to see it. ๐Ÿ’–
  • --id=[] โ€” the event id, and it's required (no cap!). also accepts pipeline input, so you can pipe it in like a pro. ๐ŸŽฏ
  • --processingMode="" โ€” the Cumulocity processing mode. you know, for when you're feeling fancy with your processing. โœจ

๐Ÿงš OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿงš

these are the options you get from the parent command because apparently deleting one event wasn't enough and you need all the power. iykyk. ๐Ÿ’…

  • --abortOnErrors=10 โ€” abort batch when reaching the specified number of errors. like, if 10 things go wrong, we're out. ๐Ÿ’€
  • --allowEmptyPipe[=false] โ€” don't fail when piped input is empty (stdin). sometimes the void is okay, bestie. ๐ŸŒˆ
  • --cache[=false] โ€” enable cached responses. speed things up, you know? โญ
  • --cacheBodyPaths=[] โ€” limits what gets hashed in the json body for cache. empty means all values, so if you leave it blank it's like "everything, go off." ๐Ÿฆ‹
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration. like 60s or 2m. think of it as how long the cache stays fresh before it gets stale. ๐Ÿ“
  • -c, --compact[=false] โ€” compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal, but if you want it all squished together, this is your moment. ๐ŸŽ€
  • --confirm[=false] โ€” prompt for confirmation. gives you that "are you sure?" moment. ๐Ÿ™ˆ
  • --confirmText="" โ€” custom confirmation text. make it say whatever you want, honestly iconic. ๐Ÿ’…
  • --currentPage=0 โ€” current page which should be returned. you know, for pagination vibes. ๐Ÿ“„
  • --customQueryParam=[] โ€” add custom URL query parameters. like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. go wild. ๐ŸŒˆ
  • --debug[=false] โ€” set very verbose log messages. debug mode: on, chaos: manageable. ๐Ÿ”ฅ
  • --delay="0ms" โ€” delay after each request. like 5ms or 1.2s. give the server a lil breather. ๐Ÿ˜ฎโ€๐Ÿ’จ
  • --delayBefore="0ms" โ€” delay before each request. same energy, but before. โณ
  • --dry[=false] โ€” dry run. don't send any data to the server. just pretend. ๐Ÿ’ญ
  • --dryFormat="markdown" โ€” dry run output format. like json, dump, markdown or curl. pick your aesthetic. ๐ŸŽจ
  • --examples[=false] โ€” show examples for the current command. because who doesn't love examples? โœจ
  • --filter=[] โ€” apply a client side filter to response before returning it to the user. like a little sieve for your data. ๐Ÿงš
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. basically, make it all flat like a pancake. ๐Ÿฅž
  • -f, --force[=false] โ€” do not prompt for confirmation. ignored when using --confirm. you're the boss. ๐Ÿ‘‘
  • -H, --header=[] โ€” custom headers. like --header "Accept: value, AnotherHeader: myvalue". flex those HTTP muscles. ๐Ÿ’ช
  • --includeAll[=false] โ€” include all results by iterating through each page. because sometimes you want everything. ๐Ÿ’–
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL. live dangerously, but like, securely? sort of. โš ๏ธ
  • -l, --logMessage="" โ€” add custom message to the activity log. leave your mark. โœ๏ธ
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!). unlimited power, but with great power comes great "maybe don't." ๐Ÿ’€
  • --noAccept[=false] โ€” ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. HTTP header drama, honestly. ๐Ÿ™„
  • --noCache[=false] โ€” force disabling of cached responses (overwrites cache setting). no cache, no problem. ๐Ÿšซ
  • -M, --noColor[=false] โ€” don't use colors when displaying log entries on the console. some people like it monochrome, and that's valid. ๐Ÿ–ค
  • --noLog[=false] โ€” disables the activity log for the current command. no receipts, no evidence. ๐Ÿคซ
  • --noProgress[=false] โ€” disable progress bars. sometimes you just don't want to see the loading. ๐Ÿคทโ€โ™€๏ธ
  • --noProxy[=false] โ€” ignore the proxy settings. go direct, bestie. ๐Ÿ›ฃ๏ธ
  • -n, --nullInput[=false] โ€” don't read the input (stdin). useful if using in shell for/while loops. when you need to be left alone. ๐Ÿšช
  • -o, --output="table" โ€” output format. like table, json, csv, csvheader. pick your poison. ๐Ÿ“Š
  • --outputFile="" โ€” save JSON output to file (after select/view). for when you need receipts. ๐Ÿ“
  • --outputFileRaw="" โ€” save raw response to file (before select/view). the unfiltered truth. ๐Ÿ“œ
  • --outputTemplate="" โ€” jsonnet template to apply to the output. fancy formatting, love that. โœจ
  • -p, --pageSize=5 โ€” maximum results per page. 5 is the default, but you do you. ๐Ÿ“–
  • --progress[=false] โ€” show progress bar. this will also disable any other verbose output. visual feedback, yay! ๐ŸŽฌ
  • --proxy="" โ€” proxy setting. like http://10.0.0.1:8080. for when you need to go through the middleman. ๐Ÿ•ต๏ธโ€โ™€๏ธ
  • -r, --raw[=false] โ€” show raw response. this mode will force output=json and view=off. no filter, no chill. ๐Ÿ˜Ž
  • --retries=3 โ€” max number of attempts when a failed http call is encountered. 3 tries, then we give up. ๐Ÿคทโ€โ™€๏ธ
  • --select=[] โ€” comma separated list of properties to return. wildcards and globstar accepted, like --select 'id,name,type,**.serialNumber'. you get to choose what you see. ๐Ÿ”
  • --session="" โ€” session configuration. because sessions are a whole thing. ๐Ÿช„
  • --sessionMode="" โ€” override default session mode for a single command which would normally be disabled. breaking the rules, respectfully. ๐Ÿ’…
  • -P, --sessionPassword="" โ€” override session password. your secret, your rules. ๐Ÿคซ
  • -U, --sessionUsername="" โ€” override session username. like peter or t1234/peter (with tenant). know your username, bestie. ๐Ÿ‘ค
  • --silentExit[=false] โ€” silent status codes do not affect the exit code. it's exit code neutrality. โ˜ฎ๏ธ
  • --silentStatusCodes="" โ€” status codes which will not print out an error message. for when you just don't want to hear about it. ๐Ÿ™‰
  • --timeout="600s" โ€” request timeout duration. like 60s or 2m. 600s is the default, so it's pretty patient. โฐ
  • --totalPages=0 โ€” total number of pages to get. 0 means... well, it's 0. ๐Ÿ“š
  • -v, --verbose[=false] โ€” verbose logging. because sometimes you need all the details. ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” use views when displaying data on the terminal. disable using --view off. automatic viewing, iconic. ๐Ÿ‘€
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr. error drama, but on a different channel. ๐Ÿ“ข
  • --withTotalElements[=false] โ€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). know your totals. ๐Ÿ”ข
  • -t, --withTotalPages[=false] โ€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. page math, love that for us. ๐Ÿ“„
  • --workers=1 โ€” number of workers. 1 is the default, so it's a solo mission unless you say otherwise. ๐Ÿ‘ฏโ€โ™€๏ธ

๐ŸŒŸ EXAMPLE ๐ŸŒŸ

okay here's the moment you've been waiting forโ€”the example! โœจ

$ c8y events delete --id 12345
Delete an event

like, yes bestie, delete that event. --id 12345 and you're done. no cap, that's the whole thing. ๐ŸŽ‰


๐Ÿซถ SEE ALSO ๐Ÿซถ

c8y-events(1) โ€” the parent command, the big boss. go check it out if you want more event action. ๐Ÿ’–


alright bestie, that's the tea on c8y-events-delete! โ˜•๐Ÿ’… go forth and delete events like the iconic unix girlboss you are! ๐ŸŒˆโœจ

signing off from Jan 1980 (yes, really) โ€” c8y(1) ๐ŸŽ€๐Ÿฆ‹๐Ÿ’œ

๐Ÿ“ฆ where this page comes from