Service: zimbraAdmin

Command: ModifyDataSource
Namespace: urn:zimbraAdmin
Description: Changes attributes of the given data source. Only the attributes specified in the request are modified. To change the name, specify "zimbraDataSourceName" as an attribute.

note: this request is by default proxied to the account's home server
Properties:
Authorization token required true
Admin Authorization token required true

ModifyDataSourceRequest

    <ModifyDataSourceRequest id="{account-id}"> ## ModifyDataSourceRequest
        <dataSource name="{data-source-name}" id="{data-source-id}"
                       type="{data-source-type} (pop3 | imap | caldav | contacts | yab | rss | cal | gal | xsync | tagmap | unknown)"> ## DataSourceInfo
            (<a n="{key}" /> ## Attr)*
        </dataSource>
        (<a n="{key}" /> ## See /dataSource/a [ ## Attr])*
    </ModifyDataSourceRequest>

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

XPath Required / Optional Description
@id Required (only 1) Type: String
Existing account ID
/dataSource Required (only 1) Data source specification
/dataSource@name Required (only 1) Type: String
Data source name
/dataSource@id Required (only 1) Type: String
Data source id
/dataSource@type Required (only 1) Type: pop3 | imap | caldav | contacts | yab | rss | cal | gal | xsync | tagmap | unknown
Data source type
/dataSource/a Optional (0 or more) Attributes
/dataSource/a@n Required (only 1) Type: String
Key
/a Optional (0 or more) Attributes
See /dataSource/a for more details.

ModifyDataSourceResponse

    <ModifyDataSourceResponse /> ## ModifyDataSourceResponse