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
Parameter | Description |
---|---|
Limit | The number of records to return at once. Limited to 100. |
Policy ID | ObjectID of the Policy. |
Targets | Targets which a "policy" can be associated to. |
Advanced Parameters
Parameter | Description |
---|---|
Organization ID | Organization identifier that can be obtained from console settings. |
Skip | The 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
Preview this Workflow on desktop