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.

acknowledge()

Available since version: 1.8
The method is used to control all event attributes including event applications linkage.

Parameters

Parameter Type Optional Description Details
eventids string No Array of event IDs.
message any Yes Acknowledge message.

Returns

Parameter Description
result Operation successful. Result will contain array of acknowledged Event IDs.
error In case of any errors

Example

Acknowledge two events and leave a message:

  {
          "jsonrpc":"2.0",
          "method":"event.acknowledge",
          "params":{
             "eventids": ["100100000010092", "100100000010094"],
             "message": "Problem resolved"
          },
          "auth":"700ca65537074ec963db7efabda78259",
          "id":2
         }
Copy
✔ Copied

Retrieved acknowledged event IDs:

  {
          "jsonrpc":"2.0",
          "result": {
              "eventids":["100100000010092", "100100000010094"]
          },
          "id":2
         }
Copy
✔ Copied
To toggle search highlight, press Ctrl+Alt+H
Have an improvement suggestion for this page? Select the text that could be improved and press Ctrl+Enter to send it to the editors.