c8y(1)
โจ 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 fordelete. 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. like60sor2m. 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. like5msor1.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. likejson,dump,markdownorcurl. 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. liketable,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.5is 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. likehttp://10.0.0.1:8080. for when you need to go through the middleman. ๐ต๏ธโโ๏ธ-r,--raw[=false]โ show raw response. this mode will forceoutput=jsonandview=off. no filter, no chill. ๐--retries=3โ max number of attempts when a failed http call is encountered.3tries, 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. likepeterort1234/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. like60sor2m.600sis the default, so it's pretty patient. โฐ--totalPages=0โ total number of pages to get.0means... well, it's0. ๐-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.1is 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
- 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