Programmatically create account in OpenHAB Cloud

We are looking for a way through a script to create and delete user accounts in a locally installed copy of OpenHAB Cloud. Is there a way to do this through curl, API or direct database manipulation?

We are managing a large installation (200+) hubs and are looking at using the OpenHAB Cloud for remote proxy for each client. Each client has a hub.

You need to write API which is not available with the current upstream code.