System
Arm a shutdown
Arm a shutdown of the Mac. The daemon fires it after a 60-second failsafe window, which holds even if the browser closes; the cancel endpoint aborts it. Requires the **admin** role.
curl -X POST "https://example.com/api/system/power/shutdown"{ "action": "shutdown", "secondsRemaining": 0}