API Script for Mass Action MobileDevice Restart

New Contributor III

I am familiar with the mobiledevicecommand with the RestartDevice payload which is great for resetting one or several IDs, but I'd like to have a SmartDeviceGroup where I can apply the Action to all members to RestartDevice using the API.

So far I am not even sure if the API supports this logic.

Does anyone have an example of how to do this?


Release Candidate Programs Tester

I'm looking for the same thing for Apple TVs and came across this: https://community.jamf.com/t5/jamf-pro/api-script-for-ipad-restart/td-p/176439

I'm going to give it a try.

Kimberly Trojanowski