WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Domain → Update Nameservers

AI-generated

Summary

Updates the nameservers for a WHMCS domain record by calling the DomainUpdateNameservers API action. Supply the domain record ID and any nameserver values to set; custom WHMCS parameters can also be added.

Inputs

  • Domain ID (required) — Numeric ID of the client domain record (tbldomains.ID).
  • Nameservers — Optional NS1–NS5 values. Each supplied value is sent as a nameserver parameter.
  • Custom Parameters — Optional additional WHMCS API parameters. Parameter names must match the WHMCS API reference exactly and are case-sensitive.

Output shape

A list of items, each containing the WHMCS API response as JSON.

One API request is made for each input item. The node does not reshape the response; API errors are thrown unless Continue On Fail is enabled, in which case that item's output contains an error field.

Links

Discussion