Commit 4ffd1b13 authored by Florian Schaal's avatar Florian Schaal

update api-example for sites_web_domain_add

parent 82bc3958
......@@ -62,6 +62,8 @@
<p class="margin"> backup_copies&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> traffic_quota_lock&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> http_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> https_port&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="headgrp">Output: </p>
<p class="margin"> Returns the ID of the newly added web domain.</p>
<!--<b>Output:</b>
......
......@@ -59,7 +59,9 @@ try {
'backup_interval' => '',
'backup_copies' => 1,
'active' => 'y',
'traffic_quota_lock' => 'n'
'traffic_quota_lock' => 'n',
'http_port' => '80',
'https_port' => '443'
);
$affected_rows = $client->sites_web_domain_add($session_id, $client_id, $params, $readonly = false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment