You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.



object iconmap.update(object/array iconMaps)

This method allows to update existing icon maps.

This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.


(object/array) Icon map properties to be updated.

The iconmapid property must be defined for each icon map, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.

Additionally to the standard icon map properties, the method accepts the following parameters.

Parameter Type Description
mappings array Icon mappings to replace the existing icon mappings.

Return values

(object) Returns an object containing the IDs of the updated icon maps under the iconmapids property.


Rename icon map

Rename an icon map to "OS icons".


           "jsonrpc": "2.0",
           "method": "iconmap.update",
           "params": {
               "iconmapid": "1",
               "name": "OS icons"
           "id": 1


           "jsonrpc": "2.0",
           "result": {
               "iconmapids": [
           "id": 1

See also


CIconMap::update() in ui/include/classes/api/services/CIconMap.php.