Sends an action to devices.

Initiates an action on the specified devices. For example, send an action to reboot a device.

post/api/v1/accounts/{accountId}/devices/action

Request

Path parameters

accountIdstring required

Your WatchGuard Cloud account ID.

Request body

device_idsstring[]
action_type1

Device action type.

  • 1: Reboot
count_down_type1 | 2 | 3 | 4 | 5 | 6 | 7

Amount of time to count down to a reboot action.

  • 1: Immediate
  • 2: Fifteen minutes
  • 3: Thirty minutes
  • 4: One hour
  • 5: Two hours
  • 6: Four hours
  • 7: Eight hours

Example request

{
  "device_ids": [
    "00ab3e54-7bb7-4bd3-bd39-237a9d191a44"
  ]
}

Response

OK. Returns the IDs of devices processed in this operation.

processed_device_idsstring[]
no_executed_by_not_found_device_idsstring[]

Example response

{
  "processed_device_ids": [
    "00ab3e54-7bb7-4bd3-bd39-237a9d191a44, 287324d8-194f-4f5a-a7ad-e2480d5ad1b2"
  ],
  "no_executed_by_not_found_device_ids": [
    "00ab3e54-7bb7-4bd3-bd39-237a9d191a44, 287324d8-194f-4f5a-a7ad-e2480d5ad1b2"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.