HI
I apologize in advance if that question was asked but I cannot find answers :(
I need to retrieve following information through API:
1. retrieve members through API from static computer groups - i need to list computer names that belong to specific computer groups. All i'm able to find is how to list computer groups, but not how to retrieve members.
# Endpoint to retrieve computer groups
$computerGroupsUrl = "$jamfUrl/api/v1/computer-groups"
# Request computer groups
$responseComputerGroups = Invoke-RestMethod -Uri $computerGroupsUrl -Method Get -Headers $headers -ErrorAction Stop
2. retrieve members through API from smart computer groups - i need to list computer names that belong to specific computer groups
3. retrieve data through API from "reports" found under "Search inventory"