HomeGuidesRecipesAPI ReferenceChangelog
Log In
API Reference

Creates a new mobile device command

The chart below includes additional requirements for usage of specific commands

commandParametersRequirementsValues
DeviceLocationN/ASupervised and in lost modeN/A
DisableLostModeN/ASupervised and in lost modeN/A
EnableLostModelost_mode_messageSupervised device (required if lost_mode_phone is not set)string
EnableLostModelost_mode_phoneSupervised device (required if lost_mode_message is not set)string
EnableLostModelost_mode_footnoteoptionalstring
EnableLostModealways_enforce_lost_modeoptional (defaults to 'true')boolean
EnableLostModelost_mode_with_soundoptional (defaults to 'false')boolean
EraseDevice (deprecated on 2023-06-21)preserve_data_planoptional (defaults to 'false')boolean
EraseDevice (deprecated on 2023-06-21)disallow_proximity_setupoptional (defaults to 'false')boolean
PasscodeLockGracePeriodpasscode_lock_grace_periodShared iPadseconds (integer)
PlayLostModeSoundN/ASupervised and in lost modeN/A
RestartDeviceN/ASupervised deviceN/A
SettingsDisableBluetooth (deprecated on 2024-04-24)N/AiOS 11.3+ and SupervisedN/A
SettingsEnableBluetooth (deprecated on 2024-04-24)N/AiOS 11.3+ and SupervisedN/A

Below is a complete list of the supported values for the command element.

  • BlankPush
  • ClearPasscode
  • ClearRestrictionsPassword (deprecated)
  • DeviceLocation
  • DisableLostMode
  • EnableLostMode
  • EraseDevice (deprecated)
  • PasscodeLockGracePeriod
  • PlayLostModeSound
  • RestartDevice
  • SettingsDisableDataRoaming (deprecated)
  • SettingsDisableVoiceRoaming (deprecated)
  • SettingsEnableDataRoaming (deprecated)
  • SettingsEnableVoiceRoaming (deprecated)
  • UnmanageDevice
  • UpdateInventory
Language
Credentials
Basic
base64
: