This function removes an IP address from the server.
ip required | string The IPv4 address. Example: |
ethernetde | string or Default: The network alias to which the IPv4 address is bound. Example: |
skipifshut | integer Default: Whether to remove the IP address if the ethernet interface is down.
Example: |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ delip \ ip='10.1.1.1'
{- "metadata": {
- "command": "delip",
- "reason": "eth0:cp2 is now down, 10.1.1.1 has been removed",
- "result": 1,
- "version": 1
}
}