Actions31
- Alert Actions
- Application Actions
- Billing Actions
- Device Actions
- Fact Actions
- Instruction Actions
- Policy Actions
Instruction → Execute
AI-generatedSummary
Execute an instruction on selected devices
Inputs
- instructionId (required) — The ID of the instruction to execute
- targetType (required) — Target type for execution; currently only 'device' is supported
- deviceId (required) — The ID or name of the device on which to run the instruction
Output shape
a list of JSON objects representing the execution result for each targeted device
Multiple devices return separate response objects; the operation returns an array of execution responses
Examples
Example 1: Run a script instruction on a specific device
Set instructionId='inst123', targetType='device', deviceId='ABC123' and execute the operation