Skip to main content
POST
Run command for Sensors

Run command for Sensors

This endpoint lets you run a command for one or more Sensor records.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.

Request Body

string
required
The key for the command to execute.
array
required
The list of record identifiers (Id field) for the Sensor records to execute this command for.
array
required
If this command requires any parameters, the name and value for each of them.

Response

200

integer
Example: 200
string
Example: The command was run correctly.
object
any
string
Example: 2021-04-15T12:19:07Z
string
Example: john@example.com
any
boolean
Example: true
Example Response

Example Request