Loading...

Knowledge Base

Get the Default Name Servers of a Customer Account Using the API

When you want to retrieve the default name servers configured for a customer account. This article explains the required parameters and API request format for fetching the customer's default name server details.

Getting a Customer's Default Name Servers

 

Description

Gets the default Name Servers of the specified Customer.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
customer-idIntegerRequiredThe Customer for whom you want to fetch the default Name Servers.

HTTP Method

GET

Example Test URL Request


https://test.httpapi.com/api/domains/customer-default-ns.json?auth-userid=0&api-key=key&customer-id=0

Response

Returns the Default Name Servers (Array of Strings) of the Customer.