Identify active/inactive org units through API

How to identify active and inactive/deleted org units through the API? In the DHIS2 instance, we have only 1 active “Mali” in the org unit and another “Mali” that had been created and deleted, but when calling on the API the other system receives both active and deleted org units and we cannot identify which is which.

Thank you for your question @Breno! I have assigned this topic to the right person to answer your question. Please, anyone in the community with answers and discussion can contribute as well. Thank you!

1 Like

Hi @Breno,

suggestion for active/inactive, please consider of Start Date and End Date value.