This function changes a site's or account's IP address.
ip required | string <ipv4> The site's or user's IPv4 address. Example: ip=192.168.4.10 |
domain | string <domain> The domain's name. Note: You must use either the Example: domain=example.com |
user | string <username> The user's username. Note: You must use either the Example: user=username |
object |
whmapi1 --output=jsonpretty \ setsiteip \ ip='192.168.4.10'
{- "metadata": {
- "command": "setsiteip",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}