See the following article for more information:
The DELETE FOLDERS command allows you to delete a list of subfolders, by path. Folders must be empty in order for it to be deleted (i.e., all datasets, subfolders, and other children files must be removed).
DELETE FOLDERS label_list
DELETE FOLDERS "Q", "A|B";