latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Resellers
Account Settings

Update reseller's assigned nameservers

This function assigns nameservers to a reseller's account.

get/setresellernameservers

Query parameters

userstring username required
Example:username

The reseller's username.

nameserversstring

A comma-separated list of the nameserver domains to assign to the reseller's account.

Note:

If you do not use this parameter, the function resets the reseller's nameservers to use the server default.

Response

HTTP Request was successful.

Example response

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