Service: zimbraAdmin

Command: FlushCache
Namespace: urn:zimbraAdmin
Description: Flush memory cache for specified LDAP or directory scan type/entries
Directory scan caches(source of data is on local disk of the server): skin|locale LDAP caches(source of data is LDAP): account|cos|domain|server|zimlet

For LDAP caches, one or more optional <entry> can be specified.
If <entry>(s) are specified, only the specified entries will be flushed. If no <entry> is given, all enties of the type will be flushed from cache.
type can contain a combination of skin, locale and zimlet. E.g. type='skin,locale,zimlet' or type='zimletskin'
Properties:
Authorization token required true
Admin Authorization token required true

FlushCacheRequest

    <FlushCacheRequest> ## FlushCacheRequest
        <cache type="{comma-sep-cache-types}" [allServers="{all-servers} (0|1)"]> ## CacheSelector
            (<entry [by="{cache-entry-by} (id | name)"]>{key}</entry> ## CacheEntrySelector)*
         </cache>
    </FlushCacheRequest>

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

XPath Required / Optional Description
/cache Optional (0 or 1) Cache
/cache@type Required (only 1) Type: String
Comma separated list of cache types. e.g. from acl|locale|skin|uistrings|license|all|account|config|globalgrant|cos|domain|galgroup|group|mime| server|zimlet|<extension-cache-type>
/cache@allServers Optional (0 or 1) Type: 0|1
0 (false) [default] flush cache only on the local server
1 (true) flush cache only on all servers (can take a long time on systems with lots of servers)
/cache/entry Optional (0 or more) Type: {key}
Cache entry selectors
Description for element text content:The key used to identify the cache entry. Meaning determined by {cache-entry-by}
/cache/entry@by Optional (0 or 1) Type: id | name
Select the meaning of {cache-entry-key}

FlushCacheResponse

    <FlushCacheResponse /> ## FlushCacheResponse