addZoneRecord

This method adds a DNS record for the specified subdomain.

Syntax

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

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 the account LoopiaAPI.
  • customer_number
    string
    Customer ID for the account. Used only by resellers who work with the customer’s account.
  • domain
    string
    Domain name that the subdomain you want to administrate belongs to.
  • subdomain
    string
  • Subdomain to administer.
    record_obj
    record_obj
    Post with DNS data to add.
Was this article helpful?

Related Articles