i have written down a section which you can delet an account if you put in the right code:
The only thing which I notice, it is that the presented code is only a form with one validation of two fields of data, but at all a script to destroy an account.
Working myself in parallel of rejetto on the sources(springs) of hfs, I can assert, it is impossible to delete an account without passing by the interface of hfs.
It is thus of use to nothing to continue in this way, which is without outcome for you. The only possible thing is to deactivate an account, certainly not to delete it.