app-mop

On this page:

RunCommandTemplateSingleCommand

Summary

Run single command from template

Description

Run a single command from a template on a devices.

Route

POST /mop/RunCommandTemplateSingleCommand

Roles

admin apiwrite

Parameters

DetailsExampleSchema
Name Type Required Description
templateId string yes Id of command template to be run.
commandIndex number yes Index of the command in the template
variables object yes Variables to be run with the Command Template.
devices array yes Devices to run the Command Template against.

Return

DetailsExampleSchema
Name Type Description
command_result object Result of the Command Template run.