Skip to main content

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

auth_token

String

Yes

A valid auth_token returned from the authenticate request. Alternatively, basic authenticate headers can be used in place of this parameter. See the authenticate endpoint for more information and usage examples.

sitn_id

Number

Yes

Situation ID.

service_name

String

No

Service name.

external_id

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"}'

Response example