Graph
Rules

Manage the associations of a Rules

This endpoint allows you to manage the direct associations of a Health monitoring rule.

A direct association can be a non-homogeneous relationship between 2 different objects, for example Rules and Systems.

Sample Request

curl -X POST https://console.jumpcloud.com/api/v2/healthmonitoring/rules/{rule_id}/associations/ \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "op": "add",
    "type": "system_group",
    "id": "{Group_ID}"
  }'
post/api/v2/healthmonitoring/rules/{rule_id}/associations

Request

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Request body

idstring required

The ObjectID of graph object being added or removed as an association.

op'add' | 'remove' | 'update' required

How to modify the graph connection.

attributesGraphAttributes nullable

The graph attributes.

type'system' | 'system_group' required

Targets which a "rule" can be associated to.

Changes

No recorded changes to this operation across all 1 revision of this API.