Graph
Policy Group Members & Membership
Policy Groups

Manage the members of a Policy Group

This endpoint allows you to manage the Policy members of a Policy Group.

Sample Request

curl -X POST https://console.jumpcloud.com/api/v2/policygroups/{GroupID}/members \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "op": "add",
    "type": "policy",
    "id": "{Policy_ID}"
  }'
post/policygroups/{group_id}/members

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'policy' required

The member type.

Response

OK

Changes

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