How to create web application programmatically

I can't find API or methods which can create a blank web application programmatically.

Please advise how to do so.

Thanks.

Hi Edwin Ang,

There are no public APIs for that purpose.

Regards,