c8y(1)
πΈ NAME πΈ
c8y-retentionrules-delete β Delete retention rule β and yes bestie, you're in the c8y(1) manual, we're doing this π
π¦ SYNOPSIS π¦
c8y retentionrules delete [flags]
β¨ DESCRIPTION β¨
Delete an existing retention rule β that's literally the whole assignment, no cap π
π OPTIONS π
-h,--help[=false]β help for delete β the classic "pls explain" button π--id=[]β Retention rule id (required) (accepts pipeline) β required, bestie, don't skip it π«Ά--processingMode=""β Cumulocity processing mode β set the Cumulocity processing mode β¨
𧬠OPTIONS INHERITED FROM PARENT COMMANDS π§¬
--abortOnErrors=10β Abort batch when reaching specified number of errors β batch says bye at that error count π--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin) β empty pipe? not a crisis, allegedly π«Ά--cache[=false]β Enable cached responses β cache girlies rise π--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values β empty means all values, iykyk π--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2mβ how long the cache stays iconic β³-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal β terminal gets pretty, non-terminal gets compact β¨--confirm[=false]β Prompt for confirmation β are you sure, bestie? π--confirmText=""β Custom confirmation text β make the "u sure?" text your own π--currentPage=0β Current page which should be returned β page number go brrr π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'β custom query params, slay π₯--debug[=false]β Set very verbose log messages β verbose with a capital V, bestie π£οΈ--delay="0ms"β delay after each request, i.e.5ms,1.2sβ chill after each request π--delayBefore="0ms"β delay before each request, i.e.5ms,1.2sβ chill before each request π--dry[=false]β Dry run. Don't send any data to the server β pretend mode, zero server drama π--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurlβ pick your dry-run aesthetic π--examples[=false]β Show examples for the current command β show me the receipts, bestie πΈ--filter=[]β Apply a client side filter to response before returning it to the user β client-side filter before it hits you β¨--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation β nested json? flattened with dot notation, periodt π«Ά-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirmβ no prompt, but--confirmwins π-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue"β custom headers, very main character π--includeAll[=false]β Include all results by iterating through each page β all pages, all results, all vibes π-k,--insecure[=false]β Allow insecure server connections when using SSL β insecure SSL connections, proceed with awareness π¬-l,--logMessage=""β Add custom message to the activity log β put your lil note in the activity log π--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!) β unlimited jobs, use with caution, bestie π--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect β PUT and POST only see the effect π--noCache[=false]β Force disabling of cached responses (overwrites cache setting) β cache off, no arguments π-M,--noColor[=false]β Don't use colors when displaying log entries on the console β no console color for log entries π¨--noLog[=false]β Disables the activity log for the current command β activity log? not today π ββοΈ--noProgress[=false]β Disable progress bars β no progress bars, just vibes π¦--noProxy[=false]β Ignore the proxy settings β proxy settings ignored, periodt π«Ά-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shell for/while loops β no stdin, great for shellfor/whileloops π-o,--output="table"β Output format i.e.table,json,csv,csvheaderβ choose your output format, icon π--outputFile=""β Save JSON output to file (after select/view) β save JSON after select/view πΎ--outputFileRaw=""β Save raw response to file (before select/view) β save raw before select/view πΎ--outputTemplate=""β jsonnet template to apply to the output β jsonnet template moment β¨-p,--pageSize=5β Maximum results per page β max results per page, keep it cute π--progress[=false]β Show progress bar. This will also disable any other verbose output β progress bar on, other verbose output off π--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080β proxy setting, bestie π-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=offβ raw response forcesoutput=jsonandview=off, no cap π₯--retries=3β Max number of attempts when a failed http call is encountered β failed http call? try again, up to3π«Ά--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'β pick properties, wildcards and globstar accepted π--session=""β Session configuration β session configuration, slay π--sessionMode=""β Override default session mode for a single command which would normally be disabled β override session mode for one command π-P,--sessionPassword=""β Override session password β override session password, secret secret π€«-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant) β override session username, with tenant option π«Ά--silentExit[=false]β Silent status codes do not affect the exit code β silent status codes don't touch exit code π€--silentStatusCodes=""β Status codes which will not print out an error message β these status codes won't print an error message π--timeout="600s"β Request timeout duration, i.e.60s,2mβ request timeout duration, clock is ticking β°--totalPages=0β Total number of pages to get β total pages to get, page girlies unite π-v,--verbose[=false]β Verbose logging β verbose logging, tell me everything π£οΈ--view="auto"β Use views when displaying data on the terminal. Disable using--view offβ views on terminal, disable with--view offβ¨--withError[=false]β Errors will be printed on stdout instead of stderr β errors to stdout instead of stderr π--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13) β total elements under.statistics.totalElements, introduced in10.13π-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPagesβ total pages under.statistics.totalPagesπ--workers=1β Number of workers β worker count, bestie π·ββοΈ
π EXAMPLE π
$ c8y retentionrules delete --id 12345
Delete a retention rule
π SEE ALSO π
c8y-retentionrules(1) β go check out the parent-command vibes, iykyk π«Ά
later, bestie! β c8y(1), Jan 1980 edition πβ¨
π¦ 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