removeSigCorrelationInfo
A Graze API DELETE request that removes all correlation information related to a specified Situation.
Back to Graze API EndPoint Reference.
Request arguments
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. |
Response
Endpoint removeSigCorrelationInfo
returns the following response:
API update behavior
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.
Examples
The following examples demonstrate typical use of endpoint removeSigCorrelationInfo
:
Request example
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"}'