Skip to main content

List Policy Associations

This endpoint returns the direct associations of a Policy.

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

Sample Request

curl -X GET 'https://console.jumpcloud.com/api/v2/policies/{Policy_ID}/associations?targets=system_group \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}'

Basic Parameters

ParameterDescription
LimitThe number of records to return at once. Limited to 100.
Policy IDObjectID of the Policy.
TargetsTargets which a "policy" can be associated to.

Advanced Parameters

ParameterDescription
Organization IDOrganization identifier that can be obtained from console settings.
SkipThe offset into the records to return.

Example Output

[
{
"attributes": {},
"from": {
"attributes": {},
"id": "The ObjectID of the graph object.",
"type": "The type of graph object."
},
"to": {
"attributes": {},
"id": "The ObjectID of the graph object.",
"type": "The type of graph object."
}
}
]

Workflow Library Example

List Policy Associations with Jumpcloud and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop