-
Change Request
-
Resolution: Fixed
-
Major
-
None
-
None
Currently trigger.update allows working with only one id at a time without being able to update an array of triggers.
https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger/update
example:
{
"jsonrpc": "2.0",
"method": "trigger.update",
"params": {
"triggerid": [
"100100000048256",
"100100000048257"
],
"status": 1
},
"id": "2",
"auth": "266421fd8fcb977e971300b2bfbce6cc"
}
will return invalid parameters while
{
"jsonrpc": "2.0",
"method": "trigger.update",
"params": {
"triggerid": "100100000048256",
"status": 1
},
"id": "2",
"auth": "266421fd8fcb977e971300b2bfbce6cc"
}
works fine