Send Computer MDM Command

Send a computer MDM command in Jamf Pro Classic API.

Options

Field Definition Type Required

Command Name

Choose one of the following options as the command that you want to send 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, restart it, and then lock it.
  • Disable Remote Desktop: Disable the remote desktop on the computer.
  • Enable Remote Desktop: Enable a 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 prompt the user.
  • Setting Disable Bluetooth: Disable Bluetooth settings on the computer.
  • Setting Enable Bluetooth: Enable Bluetooth on the computer.
  • Unlock User Account: Unlock a local user account that's been locked due to too many failed password attempts.

Dropdown

FALSE

Input

The Command Info fields are dynamically generated based on the fields that you select in the Options section.

Field Definition Type Required

Computer

ID

Unique ID of the computer.

Number

FALSE

Command Info

Username

Username of the user signing in to the computer.

Required when you select either of the Delete User or Unlock User Account options.

Text

TRUE

Password

Password of the computer.

Required when you select either of the Device Lock or Erase Device options.

Text

TRUE

Action

New computer command with a command-specific action.

Optional when you select the Schedule OS Update option.

Text

FALSE

Lock Message

New computer command with a command-specific lock message.

Optional when you select the Device Lock option.

Text

FALSE

Output

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.

Number

Related topics

Jamf Pro Classic API connector

Workflow elements

Jamf Pro Classic API API overview