Overview | Service | Command |
Auto-provision an account
Authorization token required | true |
Admin Authorization token required | true |
<AutoProvAccountRequest> ## AutoProvAccountRequest
<domain [by="{domain-selector-by} (id|name|virtualHostname|krb5Realm|foreignName)"]>{key}</domain> ## DomainSelector
<principal by="{principal-selector-by} (dn|name)">{key}</principal> ## PrincipalSelector
<password>{password} (String)</password>
</AutoProvAccountRequest>
The following table describes elements and attributes you can define within a
<AutoProvAccountRequest>
element:
XPath | Required / Optional | Description |
/domain | Required (only 1) | Type:{key} Domain Description for element text content:The key used to identify the domain. Meaning determined by {domain-selector-by} |
/domain@by | Optional (0 or 1) | Type:id|name|virtualHostname|krb5Realm|foreignName Select the meaning of {domain-selector-key} |
/principal | Required (only 1) | Type:{key} Principal Description for element text content:The key used to identify the principal. Meaning determined by {principal-selector-by} |
/principal@by | Required (only 1) | Type:dn|name Select the meaning of {principal-selector-key} |
/password | Optional (0 or 1) | Type:{password} (String) Password |
<AutoProvAccountResponse> ## AutoProvAccountResponse
<account [isExternal="{is-external} (0|1)"] name="{name}" id="{id}"> ## AccountInfo
(<a n="{key}" /> ## Attr)*
</account>
</AutoProvAccountResponse>
The following table describes elements and attributes you can define within a
<AutoProvAccountResponse>
element:
XPath | Required / Optional | Description |
/account | Required (only 1) | Account information |
/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 |