This function assigns a main IP address to a reseller's account.
Note:
To assign additional IP addresses to a reseller's account, call the WHM API 1 setresellerips
function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ setresellermainip \ user='username' \ ip='192.168.0.20'
{- "metadata": {
- "command": "setresellermainip",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}