First we have to disable the current LCM installation in the SDDC Manager database, for this we login with SSH with vcf user and switch user to root and run the following command :
psql -h localhost -U postgres -d platform -c "update vrslcm set status = 'DISABLED'"
From here we can delete the LCM installation with the API call from the Developer centre in SDDC Manager.
This will start a task to remove LCM completely and it will also remove the VM.
This will clear the way to install a fresh LCM!
Helpfull links in finding my solution :
https://www.virtualbytes.io/vmware-aria-suite-lifecycle-vmware-cloud-foundation-4-4-rollback/
https://datareload.com/deleting-bundles-from-vcf/
https://kb.vmware.com/s/article/82635
https://kb.vmware.com/s/article/95231
The original article was posted on: www.hollebollevsan.nl