Commands

Run a command

This endpoint allows you to run a command.

Sample Request

curl -X POST https://console.jumpcloud.com/api/runCommand \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
  -d '{"_id":"{commandID}", "systemIds":["systemId"]}'
post/runCommand

Request

Request body

_idstring

The ID of the command.

systemIdsstring[]

An optional list of device IDs to run the command on. If omitted, the command will run on devices bound to the command.

Response

OK

queueIdsstring[]
workflowInstanceIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.