This function installs a WordPress site for cPanel user's primary domain.
uapi --output=jsonpretty \ --user=username \ WordPressSite \ create
{- "apiversion": 3,
- "func": "create",
- "module": "WordPressSite",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}