API call to hard delete Enrollments

DHIS2 Devs,

I’m working on a program that deals with tracked entity instances and I have a use case that requires me to hard delete Enrollments. Is there an api call that lets me do this

(other than through the maintenance api)? If there isn’t one, is there a way to delete Notes from Enrollments?

Thanks,

Hiwot

**Hiwot Chichaybelu **Data Exchange Full Stack Developer

ICF | 530 Gaither Road, Suite 500, Rockville, MD 20850

Hi,

As I am aware of, there is no API call to do a hard delete. DHIS2 is doing only deletes. A regular user should consider them as hard deletes, but internally they are implemented as soft deletes.

Regarding notes: As I am aware of, notes can be only created and that’s it. No update, no delete.

···

On Thu, Sep 13, 2018 at 9:07 PM, Chichaybelu, Hiwot Hiwot.Chichaybelu@icf.com wrote:

DHIS2 Devs,

I’m working on a program that deals with tracked entity instances and I have a use case that requires me to hard delete Enrollments. Is there an api call that lets me do this

(other than through the maintenance api)? If there isn’t one, is there a way to delete Notes from Enrollments?

Thanks,

Hiwot

**Hiwot Chichaybelu **Data Exchange Full Stack Developer

ICF | 530 Gaither Road, Suite 500, Rockville, MD 20850


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

Best regards / Mvh,

David Katuscak