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 (deprecated on 2024-04-24) | passcode | 6 character string |
DeviceLock (deprecated on 2024-04-24) | 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 (deprecated on 2024-04-24) | N/A | macOS 10.13.4 or later (Deprecated 2024-04-24) |
SettingsEnableBluetooth (deprecated on 2024-04-24) | N/A | macOS 10.13.4 or later (Deprecated 2024-04-24) |
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>