This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.



object screenitem.update(object/array screenItems)

This method allows to update existing screen items.

This method is available to users of any type. Permissions to call the method can be revoked in user role settings. See User roles for more information.


(object/array) Screen item properties to be updated.

The screenitemid property must be defined for each screen item, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.

Return values

(object) Returns an object containing the IDs of the updated screen items under the screenitemids property.


Setting the size of the screen item

Set the width of the screen item to 500px and height to 300px.


           "jsonrpc": "2.0",
           "method": "screenitem.update",
           "params": {
               "screenitemid": "20",
               "width": 500,
               "height": 300
           "auth": "038e1d7b1735c6a5436ee9eae095879e",
           "id": 1


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

See also


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