getSubdomains

This method retrieves a list of all subdomains for the given domain name.

Syntax

subdomain[] = getSubdomains(username, password, [customer_number,] domain)

Return value

string[], this method returns an array of strings where each string corresponds to a subdomain.

Parameters

  • username
    string
    Username for LoopiaAPI.
  • password
    string
    Password for LoopiaAPI.
  • customer_number
    string
    Customer ID for the account. Used only by resellers who work with the customer’s account.
  • domain
    string
    Domain to retrieve subdomains for.
Was this article helpful?

Related Articles