post https://yourServer.jamfcloud.com/JSSResource/computercommands/command/
The chart below includes additional requirements for usage of specific commands
command | Parameter | Requirements |
---|---|---|
DeleteUser | user_name | DEP enrolled device and user_name value (string) |
DeviceLock | passcode | 6 character string |
DeviceLock | lock_message | string |
DisableRemoteDesktop | N/A | macOS 10.14.4 or later |
EnableRemoteDesktop | N/A | macOS 10.14.4 or later |
EraseDevice (deprecated on 2023-06-21) | passcode | 6 character string |
ScheduleOSUpdate (deprecated on 2022-10-17) | action | macOS 10.12.0 or later |
SettingsDisableBluetooth | N/A | macOS 10.13.4 or later |
SettingsEnableBluetooth | N/A | macOS 10.13.4 or later |
UnlockUserAccount | user_name | DEP enrolled device and user_name value (string) |
<computer_command>
<general>
<command>DeviceLock</command>
<passcode>123456</passcode>
<lock_message>Sample Message</lock_message>
</general>
<computers>
<computer>
<id>134</id>
</computer>
</computers>
</computer_command>
<computer_command>
<general>
<command>DeleteUser</command>
<user_name>radmin</user_name>
</general>
<computers>
<computer>
<id>134</id>
</computer>
</computers>
</computer_command>
<computer_command>
<general>
<command>EraseDevice</command>
<passcode>123456</passcode>
</general>
<computers>
<computer>
<id>134</id>
</computer>
</computers>
</computer_command>
<computer_command>
<general>
<command>UnlockUserAccount</command>
<user_name>radmin</user_name>
</general>
<computers>
<computer>
<id>134</id>
</computer>
</computers>
</computer_command>