Graph
Applications

Manage the associations of an Application

This endpoint allows you to manage the direct associations of an Application. A direct association can be a non-homogeneous relationship between 2 different objects, for example Application and User Groups.

Sample Request

curl -X POST 'https://console.jumpcloud.com/api/v2/applications/{Application_ID}/associations' \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "op": "add",
    "type": "user_group",
    "id": "{Group_ID}"
  }'
post/applications/{application_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'agent_group' | 'user' | 'user_group' required

Targets which a "application" can be associated to.

Response

OK

Changes

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