Authorization token required | true |
Admin Authorization token required | true |
<ChangePrimaryEmailRequest> ## ChangePrimaryEmailRequest
<account by="{acct-selector-by} (adminName | appAdminName | id | foreignPrincipal | name | krb5Principal)">{key}</account> ## AccountSelector
<newName>{newName} (String)</newName>
</ChangePrimaryEmailRequest>
elements and attributes you can define within a
<ChangePrimaryEmailRequest>
element:
XPath | Required / Optional | Description |
/account | Required (only 1) | Type: {key} Specifies the account to be changed Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by} |
/account@by | Required (only 1) | Type: adminName | appAdminName | id | foreignPrincipal | name | krb5Principal Select the meaning of {acct-selector-key} |
/newName | Required (only 1) | Type: {newName} (String) New account name |
<ChangePrimaryEmailResponse> ## ChangePrimaryEmailResponse
<account [isExternal="{is-external} (0|1)"] name="{name}" id="{id}"> ## AccountInfo
(<a n="{key}" /> ## Attr)*
</account>
</ChangePrimaryEmailResponse>
elements and attributes you can define within a
<ChangePrimaryEmailResponse>
element:
XPath | Required / Optional | Description |
/account | Optional (0 or 1) | Information about account after rename |
/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 |