This article explains a simple and efficient way to delete multiple groups at once using a CSV file. By following the instructions provided in this article, you will be able to delete groups in a matter of minutes, saving you time and effort.
...
- Construct a CSV file with the column name group and add the required group values you want to remove. In the example, we want to remove the groups:
group demo support IT
Name the file groups.csv. It is suggested to use groups.csv file for simplification.
Run the action using the newly created CSV file:
--action runFromCsv --file groups.csv --common "--action removeGroup" --continue
Please note that this action can be irreversible, so make sure to double-check the groups you want to remove before running the command. Also, please make sure to have a backup of your data before doing any action that can make any data loss.
...