Send Computer MDM Command

Send computer MDM command in Jamf Pro Classic API.


Field Definition Type Required
Command Name Choose one of the following options as the command you want to sent to the computer:
  • Delete User: Remove a user that has an active account on the computer.

  • Device Lock: Lock the user out of the computer, restarts the computer, and then locks the computer.
  • Disable Remote Desktop: Disable remote desktop on the computer.
  • Enable Remote Desktop: Enable remote desktop on the computer.
  • Erase Device: Permanently erase institutional data and settings from the computer.
  • Schedule OS Update: Schedule an OS version update on a computer and prompts the user.
  • Setting Disable Bluetooth: Disable bluethooth settings on the computer.
  • Setting Enable Bluetooth: Enable bluethooth on the computer.
  • Unlock User Account: Unlock a local user account that has been locked due to too many failed password attempts.
Dropdown FALSE


Command Info fields are dynamically generated based on the fields selected in Options.

Field Definition Type Required
ID Unique ID of the computer. Number FALSE
Command Info
Username Username of the user logging in to the computer.

Required when any of the following fields, Delete User, Unlock User Account are selected from Options.

String TRUE
Password Password of the computer.

Required when any of the following fields, Device Lock, Erase Device are selected from Options.

String TRUE
Action New computer command with a command specific action.

Optional when Schedule OS Update is selected from Options.

String FALSE


Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.


Related topics

Jamf Pro Classic API connector

Workflow elements

Jamf Pro Classic API API overview