latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

IP Addresses
IPv6 Address Settings

Update IPv6 address range name or note

This function changes an IPv6 address range's name and/or note.

Notes:

  • 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.

get/ipv6_range_edit

Query parameters

namestring required
Example:ExampleRange

The IPv6 address range's current name.

Note:

You cannot edit the range named SHARED.

new_namestring
Example:AnotherRange

The IPv6 address range's new name.

Note:

  • If not supplied the range keeps its old name.
  • You cannot change range name to SHARED.
notestring
Example:This is an update to the note.

The IPv6 address range's new note.

Note:

If you don't specify this parameter, the function will not change the range's note.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "ipv6_range_edit",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}