Post

Create a new command template. Resource: commands Authorized roles: administrator

Body Params

CommandTemplate

uuid

ID for the organization in which you want to create this new command template.

string
required
length ≤ 32

Name of this command template.

string
required

Function, script, or routine that will be executed by a command in this template.

string
length ≤ 1024

Description of this command template.

boolean
required

If you want to send parameters with your command, set this to true.

boolean
string
length ≤ 1024

This string will be passed as a parameter when this command is sent.

parameterMeta
object

You can use this to add many parameters in a more structured way.

deviceScope
object | null

Currently unused, ignore.

boolean

If set to false, this command template will be deleted.

deviceFilter
object | null
required
string | null
deliverySettings
object
json | null
uuid
date-time
date-time
tags
object
Response

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json