Service: zimbraAdmin

Command: CreateDomain
Namespace: urn:zimbraAdmin
Description: Create a domain
Notes:
Extra attrs: description, zimbraNotes
Properties:
Authorization token required true
Admin Authorization token required true

CreateDomainRequest

    <CreateDomainRequest name="{new-domain-name}"> ## CreateDomainRequest
        (<a n="{key}" /> ## Attr)*
    </CreateDomainRequest>

elements and attributes you can define within a <CreateDomainRequest> element:

XPath Required / Optional Description
@name Required (only 1) Type: String
Name of new domain
/a Optional (0 or more) Attributes
/a@n Required (only 1) Type: String
Key

CreateDomainResponse

    <CreateDomainResponse> ## CreateDomainResponse
        <domain name="{name}" id="{id}"> ## DomainInfo
            (<a n="{key}" /> ## Attr)*
         </domain>
    </CreateDomainResponse>

elements and attributes you can define within a <CreateDomainResponse> element:

XPath Required / Optional Description
/domain Optional (0 or 1) Information about the newly created domain
/domain@name Required (only 1) Type: String
Name
/domain@id Required (only 1) Type: String
ID
/domain/a Optional (0 or more) Attributes
/domain/a@n Required (only 1) Type: String
Key