updateMergeGroup
A Graze API POST request that updates a custom merge group in Moogsoft Enterprise.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint updateMergeGroup
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes, along with at least one other argument. | The custom merge group's name. |
| Array of Strings | No | List of clustering algorithm Moolets to include in the custom merge group. |
| Integer | No | Minimum number of alerts that must be present in a cluster before it can become a Situation. Must be greater than or equal to 1. Enter |
| Floating Point | No | Percentage of alerts that two Situations in this merge group must share before they are merged. A value between 0 and 1. Enter |
Response
Endpoint updateMergeGroup
returns the following response:
Examples
The following examples demonstrate typical use of endpoint updateMergeGroup
:
Request example
Example cURL request to update a custom merge group's situation_similarity_limit
:
curl -X POST -u graze:graze -k -v "https://example.com/graze/v1/updateMergeGroup" \ -H "Content-Type: application/json; charset=UTF-8" \ -d '{ \ "name":"Merge Group 1", \ "situation_similarity_limit":0.6 \ }'