Hi Mohamed, in 2.22 we introduced a Web API feature for forcing delete of organisation units:
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s38.html So if you are able to send a POST request to the following URL if will remove related data/completeness/approval records. regards, Lars Data pruning will remove complete data set registrations, data approvals, data value audits and data values, in this case for an organisation unit. /api/maintenance/dataPruning/organisationUnits/<org-unit-id> On Wed, Apr 13, 2016 at 1:24 PM, Mohamed Bangura <mbang...@gmail.com> wrote: > Hi all, > > We are currently trying to delete old facilities from our main server > but nothing seems to be happening since these facilities already have > data.Is there a way one can do this or disable the facilities as this > is currently affecting the completeness of our data. > > I need your help please. > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > -- Lars Helge Øverland Lead developer, DHIS 2 University of Oslo Skype: larshelgeoverland http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp