object screen.update(object/array screens)
This method allows to update existing screens.
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 properties to be updated.
screenid property must be defined for each screen, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard screen properties, the method accepts the following parameters.
|screenitems||array||Screen items to replace existing screen items.
Screen items are updated by coordinates, so each screen item must have the
|users||array||Screen user shares to replace the existing elements.|
|userGroups||array||Screen user group shares to replace the existing elements.|
(object) Returns an object containing the IDs of the updated screens under the
Rename a screen to "CPU Graphs".
Available only for admins and super admins.
CScreen::update() in ui/include/classes/api/services/CScreen.php.