Create account
This endpoint creates a new vPanel user account with the provided information.
HTTP Endpoint
POST https://panel.myownfreehost.net/json-api/createacct.php
Usage
curl -X POST -u username:password -d "username=example&password=password&contactemail=example@example.com&domain=subdomain.example.com&plan=MyAwesomePlan" "https://panel.myownfreehost.net/json-api/createacct.php"
Response
💡
The above request returns JSON structured like the following:
{
"result": [
{
"options": {
"vpusername": "hname_12345678",
"nameserverentry3": null,
"nameservera": null,
"nameserver4": "ns4.byet.org",
"ip": "n",
"nameservera4": null,
"nameserver": "ns1.byet.org",
"package": "package_name",
"nameserver2": "ns2.byet.org",
"nameservera2": null,
"nameserverentry4": null,
"nameservera3": "ns3.byet.org",
"nameserverentry2": null,
"nameserverentry": null,
"nameserver3": "ns3.byet.org",
"nameserver5": "ns5.byet.org"
},
"statusmsg": "Account Creation Ok",
"rawout": "Account Creation Ok",
"status": 1
}
]
}