resolveAlerts
A MoogDb v2 method to resolve one or more alerts.
Back to MoogDb V2 API Method Reference.
Request arguments
Method resolveAlerts
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| JSON Array of Numbers | Yes | List of alert IDs. |
| String | No | Thread entry comment you want to add to the resolved alerts. |
Response
Method resolveAlerts
returns the following response:
Examples
The following examples demonstrate typical use of method resolveAlerts
:
Request example
Example request to resolve alerts with IDs 2, 3 and 4 with a thread entry comment.
var result = moogdb.resolveAlerts([2,3,4], "Resolved alerts");