Skip to main content
Question

JAMF API - Get configuration profiles for a device


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
  • 3540 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
sdagley wrote:

@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
  • 3540 replies
  • August 2, 2022
ceh329 wrote:

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings