Deleting Organizational Units (2.35)

Hi,

I have deployed 2.35 on my server, is there any new approach to removing Organizational Units with NO DATA and ALL CHILDREN removed? I see a query on github but it’s from 2018? Does this still apply? Is there another solution? Many thanks😊

Hello, You can use the import/export app (medata import) with import strategy delete and pass a json file with the list of org Units to delete.


Format of the json file:

{
    "organisationUnits": [
        {
            "id": "e7UkK8f1Xrs"            
        },
        {
            "id": "e7UkK8f1Xrs"            
        }
    ]
}

Regards,

2 Likes

Many Thanks Mamadou!