Manually remove host from foreman


Here is the situation. I added in puppetdb to my foreman/katello setup. I
went to remove my test server, but I got an error which I foolishly
ignored, then went to the tasks tab and unlocked the task(more fool on me).
I have now fixed the root cause of the error, however I can't delete the
host now. I get the error this host has been deleted, 404 not found.

"Unit 86928443-8a59-4f7f-85cc-a6c96f116734 has been deleted 404 Resource
Not Found"

I need to manually remove this host, but I can not find any reference on
how to do so, so any pointers would be great.