It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

Domain.add

  • Last updated on

Use this method to add a domain, then use the config.set method to configure settings for that domain in a separate call. Use this method in a loop to add multiple domains. The output of a successful call is a simple '200 OK'.

Parameters Allowed

The following variables are used by the domain.add method. These variables should be provided as part of the request XML in the HTTP POST request.

  • password – A required parameter which the API uses to authenticate access to a page and which is set by your administrator.
  • domain – A required parameter that specifies the domain to be created.

Arguments

domain: xyz.com

Sample Request
 <?xml version="1.0" encoding="UTF8"?>
<methodCall>
 <methodName>domain.add</methodName>
  <params>
    <param>
     <value>
      <struct>
       <member>
        <name>domain</name>
        <value>
         <string>
           <![CDATA[xyz.com]]>
         </string>
         </value>
       </member>
      </struct>
     </value>
    </param>
  </params>
</methodCall>
Last updated on