How to get rid of all App-residue after uninstalling?

I got a problem with a few apps because they somehow leave some elements in the LDAP or maybe also elsewhere which leads to UDM-options shown for apps which are not installed anymore, or in the case of “jitsi meet” “crashes” the apache server as it automatically re-enables it’s (crashing) config after every major update.

is there an easy way to remove all the residue after uninstall?