Apache CloudStack 4.0.0-incubating Root Admin API Reference

createDomain

Creates a domain

Request parameters

Parameter NameDescriptionRequired
namecreates domain with this nametrue
networkdomainNetwork domain for networks in the domainfalse
parentdomainidassigns new domain a parent domain by domain ID of the parent. If no parent domain is specied, the ROOT domain is assumed.false

Response Tags

Response NameDescription
idthe ID of the domain
haschildwhether the domain has one or more sub-domains
levelthe level of the domain
namethe name of the domain
networkdomainthe network domain
parentdomainidthe domain ID of the parent domain
parentdomainnamethe domain name of the parent domain
paththe path of the domain