|
domain.create
|
| |
|
description
Create a new domain managed by the CMS.
privilege-required
root
tx-support
true
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| name |
string |
none |
true |
Domain name (match a specific regexp defined in the configuration file). |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Domain allready exists |
|
| |
|
RESULT
|
|
|
name
|
description
|
| id |
Id of the new domain. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="domain.create" >
<nvd:parameter name="name">space.com</nvd:parameter>
<nvd:result name="id" variable="domain-id" />
</nvd:command>
|
|