c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

🩷 c8y(1) β€” c8y-users-delete 🩷

okay bestie, welcome to c8y(1), the manual page for c8y-users-delete. It’s giving β€œdelete a user,” and it is not a reversible vibe. Let’s go. ✨

🌸 NAME 🌸

c8y-users-delete β€” Delete user. Yep, that’s the whole one-liner. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

c8y users delete [flags]

πŸŽ€ DESCRIPTION πŸŽ€

This deletes a user from a tenant. It removes the user completely from the tenant, and it cannot be reversed. 🚨 No undo button, bestie, not even a little one.

Alternatively, a user can be disabled via updating the users properties instead of deleting the user. So if you just need them off, that’s the softer path. 🫢

🚨 permanent vibes only: deleting removes the user completely from the tenant and cannot be reversed. If that’s not the move, update the user’s properties to disable them instead.

✨ OPTIONS ✨

These are the options that belong to this command, bestie:

  • -h, --help[=false] β€” help for delete. Shows the help. πŸ’–
  • --id=[] β€” user id. required β€” yes, required β€” and it accepts pipeline. 🫢
  • --processingMode="" β€” Cumulocity processing mode. That’s the processing-mode setting, periodt.
  • --tenant="" β€” Tenant. Which tenant? This tenant. πŸŽ€

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

These come from the parent commands, but they still eat. Every single one is here, no cap:

  • --abortOnErrors=10 β€” abort the batch when it reaches the specified number of errors. πŸ›‘
  • --allowEmptyPipe[=false] β€” don’t fail when piped input is empty (stdin). Empty pipe? Not a fail. 🫢
  • --cache[=false] β€” enable cached responses. 🧚
  • --cacheBodyPaths=[] β€” cache should limit hashing of selected paths in the json body. Empty indicates all values. πŸ“
  • --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] β€” prompt for confirmation. πŸ™ˆ
  • --confirmText="" β€” custom confirmation text. ✨
  • --currentPage=0 β€” 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. πŸ”₯
  • --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. πŸ§ͺ
  • --dryFormat="markdown" β€” dry run output format. i.e. json, dump, markdown or curl. πŸŽ€
  • --examples[=false] β€” show examples for the current command. 🌟
  • --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. πŸͺ„
  • -f, --force[=false] β€” do not prompt for confirmation. Ignored when using --confirm. πŸ’€
  • -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. 🫣
  • -l, --logMessage="" β€” add custom message to the activity log. πŸ“
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited (use with caution!). ⚠️
  • --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. πŸ–€
  • --noLog[=false] β€” disables the activity log for the current command. πŸ”‡
  • --noProgress[=false] β€” disable progress bars. 🚫
  • --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. πŸ“ˆ
  • --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. πŸ₯©
  • --retries=3 β€” max number of attempts when a failed http call is encountered. πŸ”
  • --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. πŸ—£οΈ
  • --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. πŸ‘―

πŸ’– EXAMPLE πŸ’–

Try this, bestie:

$ c8y users delete --id "myuser"
Delete a user

πŸ”­ SEE ALSO πŸ”­

c8y-users(1) β€” the see-also bestie. 🫢


🌟 That’s the whole c8y(1) manual page, bestie β€” footer vibes: c8y(1) Β· Jan 1980. Now go forth and delete responsibly (or disable instead, iykyk). πŸ’–
πŸ“¦ where this page comes from