Hi Team,
Wondering, Jamf Pro API returns all the device-Id(s) associated with the User, by passing user email/id as input? If yes, can you point to the API end-points?
Thank You,
Kalai
Hi Team,
Wondering, Jamf Pro API returns all the device-Id(s) associated with the User, by passing user email/id as input? If yes, can you point to the API end-points?
Thank You,
Kalai
Here's the developer page for the Classic API, https://developer.jamf.com/jamf-pro/reference/findusersbyemailaddress
this should get you what you're looking for.
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET -k --header "Authorization: Bearer ${api_token}" "$jssURL"/JSSResource/users/email/$email | xpath -e /users/user/links/computers/computer/id
Thank you both! Appreciate your pointing to Classic API endpoints. Wondering similar end-points available in Jamf Pro?
Thank you both! Appreciate your pointing to Classic API endpoints. Wondering similar end-points available in Jamf Pro?
I don't believe any of that has been moved over to the new API.
Thanks for the confirmation!
Here's the developer page for the Classic API, https://developer.jamf.com/jamf-pro/reference/findusersbyemailaddress
Thx for the tip to the website @ssoun . Extremely helpful
Thx for the tip to the website @ssoun . Extremely helpful
Absolutely, anytime. The website is definitely helpful. It also includes the new Jamf API as well.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.