Quantcast
Channel: Forums | InterWorx CP
Viewing all articles
Browse latest Browse all 900

InterWorx CLI API: Best method to look up all domains for a given SiteWorx domain?

$
0
0
Starting with a SiteWorx master domain, what is the best approach for discovering ALL domains associated with that account? The problem is I need to suspend the account (no problem), but I also suspend the DNS for account as well. I have been searching the API documentation, but this is all I have come up with so far:
  1. SiteWorx: Query for all pointer domains.
  2. SiteWorx: Query for all slave domains.
  3. Merge the results.
  4. NodeWorx: Suspend each domain individually, by domain name.
It feels like too many steps, especially if I consider that my code will miss (for example) "Parked Domains" if that feature is introduced in the future.

Do any of these API methods exist?
  1. NodeWorx: A method to retrieve the master domain by any given domain name?
  2. NodeWorx: A method to retrieve all domain names associated with a given master domain?
  3. SiteWorx: A method to suspend all DNS by a given master domain?

Viewing all articles
Browse latest Browse all 900

Trending Articles