Univention Bugzilla – Bug 51662
Kelvin API ignores deletion_grace_period settings
Last modified: 2021-10-01 12:06:39 CEST
The Kelvin API does not honor the import settings for deletion_grace_period (and possibly others). The technical reason is, that the code for handling user deletion (incl. the SiSoPi scenario) is in UserImport.do_delete() and not in ImportUser.remove(). The Kelvin API simply calls ImportUser.remove().
As a workaround, the "ucsschoolPurgeTimestamp" UDM property can be set. That is anyway more suitable for the use of a REST API. To be able to set and retrieve the value of a UDM property, add it to "mapped_udm_properties" in the import configuration. "ucsschoolPurgeTimestamp" values have the format "%Y-%m-%d".