latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

IP Addresses
IPv6 Address Settings

Remove IPv6 address range from account

This function removes the IPv6 address from an account.

Notes:

  • When you disable IPv6 on an account, the system unbinds that IPv6 address from your server and the account loses the address. If you enable IPv6 on that account again, the system assigns it a different IPv6 address.
  • 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_disable_account

Query parameters

userstring required
Example:user1,user2,user3

A comma delimited list of account names.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "failures": [
      {
        "name": "user1",
        "reason": "The “user1” account does not exist."
      }
    ]
  },
  "metadata": {
    "command": "ipv6_disable_account",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}