Skip to main content

We want to build a python script for our suppport team, that allows them to send the shard user lot out command per script to a list of devices.

We have not found a documentation for this commands.

Does somebody have infos about that ?

You would need to use Jamf API, and to write a script do to the thing. Though I don't think there is an API command to issue the MDM command you are wanting to use. 


There is not an MDM command for this exposed via the API. These are all of them from the Classic API documentation page (I compared to the other two versions of the command but this one has them all):


POST

/mobiledevicecommands/command

Creates a new mobile device command. Command and mobile device list specified in an XML file. 

 

Commands supported:

Settings

DeviceLock

EraseDevice (EraseDevice deprecated on 2023-06-21)

ClearPasscode

UnmanageDevice

UpdateInventory

ClearRestrictionsPassword

SettingsEnableDataRoaming

SettingsDisableDataRoaming

SettingsEnableVoiceRoaming

SettingsDisableVoiceRoaming

SettingsEnableAppAnalytics

SettingsDisableAppAnalytics

SettingsEnableDiagnosticSubmission

SettingsDisableDiagnosticSubmission

SettingsEnableBluetooth

SettingsDisableBluetooth (iOS 11.3+ and supervised only)

SettingsEnablePersonalHotspot

SettingsDisablePersonalHotspot

BlankPush

Wallpaper (supervised only)

DeviceName (supervised only)

ShutDownDevice (supervised only deprecated on 2023-04-20)

RestartDevice (supervised only)

PasscodeLockGracePeriod (shared iPad only)

EnableLostMode (supervised only)

DisableLostMode (supervised and in lost mode only)

DeviceLocation (supervised and in lost mode only)

PlayLostModeSound (supervised and in lost mode only)

ScheduleOSUpdate(iOS 9 - 10.2 enrolled via a Prestage enrollment; and/or iOS 10.3 or later; tvOS 12 or later) (ScheduleOSUpdate deprecated on 2022-10-17)

RefreshCellularPlans

Reply