latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

IP Addresses
IPv4 Address Settings

Remove IP address

This function removes an IP address from the server.

get/delip

Query parameters

ipstring ipv4 required
Example:10.1.1.1

The IPv4 address.

ethernetdevstring nullable
Example:eth0

The network alias to which the IPv4 address is bound.

skipifshutdown0 | 1
Example:1

Whether to remove the IP address if the ethernet interface is down.

  • 1 — Do not remove the IP address.
  • 0 — Remove the IP address.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "delip",
    "reason": "eth0:cp2 is now down, 10.1.1.1 has been removed",
    "result": 1,
    "version": 1
  }
}