addSubdomain

This method connects a subdomain to a domain name.

Syntax

status = addSubdomain(username, password, [customer_number,] domain, subdomain)

Return value

status, this method returns a status code of OK if all went well.

Parameters

  • username
    string
    Username for LoopiaAPI.
  • password
    string
    Password for LoopiaAPI.
  • customer_number
    string
    Customer ID of the account where the subdomain should be added. Used only by resellers who work with the customer’s account.
  • domain
    string
    Domain name to connect specified subdomain to.
  • subdomain
    string
    Subdomain to add.
Was this article helpful?

Related Articles