Remove IPv6 address range

This function removes an IPv6 address range from the server.

Note:

  • This function cannot modify the server's shared IPv6 address. To update that address, modify the /etc/wwwacct.conf file, or use WHM's Basic WebHost Manager Setup interface (Home >> Server Configuration >> Basic WebHost Manager Setup).
  • For all of cPanel & WHM's features to function properly on IPv6, the cpsrvd daemon must listen on IPv6 addresses. To enable this functionality, select On for the Listen on IPv6 Addresses setting in the System section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings).

Important:

When you disable the Web Server role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
name
required
string

The IPv6 address range's name.

Example: name=Range1
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/ipv6_range_remove
Request samples
whmapi1 --output=jsonpretty \
  ipv6_range_remove \
  name='Range1'
Response samples
application/json
{
  • "metadata": {
    • "command": "ipv6_range_remove",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}