object triggerprototype.update(object/array triggerPrototypes)
This method allows to update existing trigger prototypes.
(object/array) Trigger prototype properties to be updated.
triggerid property must be defined for each trigger prototype, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
The trigger expression has to be given in its expanded form and must contain at least one item prototype.
(object) Returns an object containing the IDs of the updated trigger prototypes under the
Enable a trigger prototype, that is, set its status to 0.
CTriggerPrototype::update() in frontends/php/include/classes/api/services/CTriggerPrototype.php.