This function adds IP addresses to a reseller's account.
Note:
To assign a main IP address to a reseller's account, call the WHM API 1 setresellermainip
function.
For more information, read our Manage Reseller's IP Delegation documentation.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ setresellerips \ user='username'
{- "data": {
- "all": 1,
- "ip": [
- "192.168.0.20"
]
}, - "metadata": {
- "command": "setresellerips",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}