Service: zimbraAdmin

Command: CreateAccount
Namespace: urn:zimbraAdmin
Description: Create account
Notes: Access: domain admin sufficient
Properties:
Authorization token required true
Admin Authorization token required true

CreateAccountRequest

    <CreateAccountRequest name="{account-name}" [password="{account-password}"]> ## CreateAccountRequest
        (<a n="{key}" /> ## Attr)*
    </CreateAccountRequest>

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

XPath Required / Optional Description
@name Required (only 1) Type: String
New account's name
Must include domain (uid@name), and domain specified in name must exist
@password Optional (0 or 1) Type: String
New account's password
/a Optional (0 or more) Attributes
/a@n Required (only 1) Type: String
Key

CreateAccountResponse

    <CreateAccountResponse> ## CreateAccountResponse
        <account [isExternal="{is-external} (0|1)"] name="{name}" id="{id}"> ## AccountInfo
            (<a n="{key}" /> ## Attr)*
        </account>
    </CreateAccountResponse>

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

XPath Required / Optional Description
/account Required (only 1) Details of created account
/account@isExternal Optional (0 or 1) Type: 0|1
Whether the account's zimbraMailTranport points to the designated protocol(lmtp) and server(home server of the account).
/account@name Required (only 1) Type: String
Name
/account@id Required (only 1) Type: String
ID
/account/a Optional (0 or more) Attributes
/account/a@n Required (only 1) Type: String
Key