Update iRedAdmin-Pro RESTful API doc.
This commit is contained in:
parent
e4dcade84f
commit
175b8071b5
|
@ -169,6 +169,17 @@ Notes:
|
|||
`language` | Preferred language of iRedAdmin web UI | `language=en_US`
|
||||
`isGlobalAdmin` | Mark this admin as global admin | `isGlobalAdmin=yes`
|
||||
|
||||
Below parameters are used by normal domain admin (`isGlobalAdmin=no`). With `isGlobalAdmin=yes`, these parameters will be discarded.
|
||||
|
||||
Parameter | Summary | Sample Usage
|
||||
--- |--- |---
|
||||
`maxDomains` | how many mail domains this admin can create | `maxDomains=5`
|
||||
`maxQuota` | how much mailbox quota this admin can create. Quota is shared by all domains created/managed by this admin. Must be used with parameter `quotaUnit`. Sample: 10TB, 20GB, 100MB.| `maxQuota=2`
|
||||
`quotaUnit` | Quota unit used by `maxQuota` parameter. Must be used with parameter `maxQuota`. Possible values: TB, GB, MB. | `quotaUnit=TB`
|
||||
`maxUsers` | how many mail users this admin can create. It's shared by all domains created/managed by this admin. | `maxUsers=100`
|
||||
`maxAliases` | how many mail aliases this admin can create. It's shared by all domains created/managed by this admin. | `maxAliases=200`
|
||||
`maxLists` | how many mailing lists this admin can create. It's shared by all domains created/managed by this admin. | `maxLists=300`
|
||||
|
||||
</div>
|
||||
|
||||
!!! api "`DELETE`{: .delete } `/api/admin/<mail>`{: .url } `Delete an existing domain admin`{: .comment } `upcoming`{: .upcoming }"
|
||||
|
@ -184,7 +195,7 @@ Notes:
|
|||
`language` | Preferred language of iRedAdmin web UI | `language=en_US`
|
||||
`isGlobalAdmin` | Mark this admin as global admin | `isGlobalAdmin=yes`
|
||||
|
||||
Below parameters are used by normal domain admin. With `isGlobalAdmin=yes`, they will be removed.
|
||||
Below parameters are used by normal domain admin (`isGlobalAdmin=no`). With `isGlobalAdmin=yes`, these parameters will be discarded.
|
||||
|
||||
Parameter | Summary | Sample Usage
|
||||
--- |--- |---
|
||||
|
|
|
@ -414,6 +414,48 @@ to be a domain admin.</p>
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Below parameters are used by normal domain admin (<code>isGlobalAdmin=no</code>). With <code>isGlobalAdmin=yes</code>, these parameters will be discarded.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Parameter</th>
|
||||
<th>Summary</th>
|
||||
<th>Sample Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>maxDomains</code></td>
|
||||
<td>how many mail domains this admin can create</td>
|
||||
<td><code>maxDomains=5</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>maxQuota</code></td>
|
||||
<td>how much mailbox quota this admin can create. Quota is shared by all domains created/managed by this admin. Must be used with parameter <code>quotaUnit</code>. Sample: 10TB, 20GB, 100MB.</td>
|
||||
<td><code>maxQuota=2</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>quotaUnit</code></td>
|
||||
<td>Quota unit used by <code>maxQuota</code> parameter. Must be used with parameter <code>maxQuota</code>. Possible values: TB, GB, MB.</td>
|
||||
<td><code>quotaUnit=TB</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>maxUsers</code></td>
|
||||
<td>how many mail users this admin can create. It's shared by all domains created/managed by this admin.</td>
|
||||
<td><code>maxUsers=100</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>maxAliases</code></td>
|
||||
<td>how many mail aliases this admin can create. It's shared by all domains created/managed by this admin.</td>
|
||||
<td><code>maxAliases=200</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>maxLists</code></td>
|
||||
<td>how many mailing lists this admin can create. It's shared by all domains created/managed by this admin.</td>
|
||||
<td><code>maxLists=300</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -460,7 +502,7 @@ to be a domain admin.</p>
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Below parameters are used by normal domain admin. With <code>isGlobalAdmin=yes</code>, they will be removed.</p>
|
||||
<p>Below parameters are used by normal domain admin (<code>isGlobalAdmin=no</code>). With <code>isGlobalAdmin=yes</code>, these parameters will be discarded.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue