You can delete groups simultaneously using a CSV file. To delete groups in bulk, you need a CSV file containing the groups list.
The header row in your CSV file contains only one column with userId as the value.
The following is a sample CSV file to help you get started:
Name
group1
group2
group3
group4
Download a sample file: BulkDeleteUsers.csv