Skip to main content
Question

JAMF API - Get configuration profiles for a device

  • August 1, 2022
  • 3 replies
  • 50 views

ceh329
Forum|alt.badge.img+3
  • New Contributor
  • 7 replies

Hello, 

I'm working with the API's and I'm trying to find out which configuration profiles have been assigned to a device. I would assume this would be a easy thing to get but I dont see an API for it. Is this possible?

 

3 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3567 replies
  • August 1, 2022

@ceh329 You can use the /computermanagement endpoint and ask specifically for the os_x_configuration_profiles subset:

https://jssurlhere.com/JSSResource/computermanagement/id/<ID>/subset/os_x_configuration_profiles

That gets you the installed profiles, which isn't necessarily the assigned profiles though.


ceh329
Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 7 replies
  • August 1, 2022

@ceh329 You can use the /computermanagement endpoint and ask specifically for the os_x_configuration_profiles subset:

https://jssurlhere.com/JSSResource/computermanagement/id/<ID>/subset/os_x_configuration_profiles

That gets you the installed profiles, which isn't necessarily the assigned profiles though.


Thanks, this is for iOS not MacOS. I found some of the info on the Device details.

 


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3567 replies
  • August 2, 2022

Thanks, this is for iOS not MacOS. I found some of the info on the Device details.

 


@ceh329 I don't have any iOS devices to try, but the subset option on the endpoint should also work with the /mobiledevices endpoint if you find the name of the configuration profile section