Sends an action to devices
POST {{baseUrl}}/api/v1/accounts/:accountId/devices/action
Initiates an action on the specified devices. For example, send an action to reboot a device.
Request Body
["{", "\n", " ", " ", "\"", "a", "c", "t", "i", "o", "n", "_", "t", "y", "p", "e", "\"", ":", " ", "\"", "$", "{", "a", "c", "t", "i", "o", "n", "_", "t", "y", "p", "e", "}", "\"", ",", "\n", " ", " ", "\"", "c", "o", "u", "n", "t", "_", "d", "o", "w", "n", "_", "t", "y", "p", "e", "\"", ":", " ", "\"", "$", "{", "c", "o", "u", "n", "t", "_", "d", "o", "w", "n", "_", "t", "y", "p", "e", "}", "\"", ",", "\n", " ", " ", "\"", "d", "e", "v", "i", "c", "e", "_", "i", "d", "s", "\"", ":", " ", "\"", "$", "{", "d", "e", "v", "i", "c", "e", "_", "i", "d", "s", "}", "\"", "\n", "}"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |