WAPI – command dns-domain-delete

  WAPI (API interface), WDNS

By using this command domain will be deleted from the DNS including all their records and our DNS servers will stop responding to the domain.

Parametry

  • name = domain name – required

Return Values

  • 1000 = ok
  • 3222 = opening domain failed
  • 3223 = access denied
  • 3301 = record can not be removed
  • 3305 = domain is locked for editing
  • 3306 = domain is deleted

Return data

Command does not return any data.

Example of use

XML query:

<request>
 <user>tester</user>
 <auth>463870369aef393f3b82274107c9ade4b5b2a414</auth>
 <command>dns-domain-delete</command>
 <data>
  <name>example.com</name>
 </data>
</request>

XML response:

<response>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1291125900</timestamp>
 <svTRID>1291125900.6323.22602.1</svTRID>
 <command>dns-domain-delete</command>
</response>