A direct association can be a non-homogeneous relationship between 2 different objects, for example Commands and User Groups.

Sample Request

 curl -X POST https://console.jumpcloud.com/api/v2/commands/{Command_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"  }'

Basic Parameters

ParameterDescription
AttributesThe graph attributes.
Command IDObjectID of the Command.
IDThe ObjectID of graph object being added or removed as an association.
OperatorHow to modify the graph connection.
TypeTargets which a “command” can be associated to.

Advanced Parameters

ParameterDescription
Organization IDOrganization identifier that can be obtained from console settings.

Workflow Library Example

Update Command Association with Jumpcloud and Send Results Via Email

Preview this Workflow on desktop