Perform action on multiple devices

Performs an action on the specified devices. If you want to perform an action on only a single device, we recommend that you use POST /devices/{deviceID}/action for more options.

Required permissions - Depending on the action performed:

  • Run Command
  • Send Message
  • Run Ungrouped Scripts
  • Run Group 1/2/3/4/5 Scripts
Body Params

Select the type of action you want to perform to see the required action_data. There are payload request samples for each type of action.

action_data
object

Details about the action to perform.

device_ids
array of strings

An array of device IDs on which to perform the action. You can use GET /devices to get device IDs.

device_ids
Responses
202

Action request successfully sent.

400

Invalid request payload.

500

Something went wrong at the API service.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!