A Graze API DELETE request that removes all correlation information related to a specified Situation.
Back to Graze API EndPoint Reference.
Endpoint removeSigCorrelationInfo
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | A valid |
| Number | Yes | Situation ID. |
| String | No | Service name. |
| String | No | External ID. |
Endpoint removeSigCorrelationInfo
returns the following response:
The behavior of this endpoint depends on whether the relevant alert or Situation is open, closed and still in the active database, or closed and archived to the historic database. This endpoint updates the alert or Situation as follows:
See API Update Behavior for more information on Situation statuses.
The following examples demonstrate typical use of endpoint removeSigCorrelationInfo
:
Example cURL request to remove the correlation information from Situation ID 3 for service name "my service 7" and external ID "my resource 7":
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/removeSigCorrelationInfo" -H "Content-Type: application/json; charset=UTF-8" -d '{"sitn_id" : 3, "service_name" : "my service 7", "external_id" : "my resource 7"}'