Addigy icon

Addigy

Interact with Addigy API for Apple device management

Device → Run Command

AI-generated

Summary

Run a command on a device

Inputs

  • deviceId (required) — The ID of the device
  • command (required) — Command to run on the device, selecting from restart, shutdown, lock, clear_passcode, refresh_facts
  • additionalFields — Optional additional fields such as a message to display to the user

Output shape

object

Returns the Addigy API response object, typically containing a success flag and possibly device_id, policy_id or other command‑specific fields.

Examples

Example 1: Restart a device

deviceId = 12345, command = "restart", additionalFields = {"message":"Rebooting device..."}

Example 2: Clear passcode

deviceId = "abcde", command = "clear_passcode", additionalFields = {}

Links

Discussion