Namespace: "urn:zimbraAdmin"
RenameAccount SOAP Command

Rename Account
Access: domain admin sufficient
note: this request is by default proxied to the account's home server

Authorization token required true
Admin Authorization token required true

RenameAccountRequest

    <RenameAccountRequest id="{value-of-zimbra-id}" newName="{new-account-name}" /> ## RenameAccountRequest

The following table describes elements and attributes you can define within a <RenameAccountRequest> element:

XPath Required / Optional Description
@id Required (only 1) Type:String
Zimbra ID
@newName Required (only 1) Type:String
New account name

RenameAccountResponse

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

The following table describes elements and attributes you can define within a <RenameAccountResponse> 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