POST /api/hosts/bulk/traces { "organization_id": 114267492, "included": { "ids": [ 980191159, 980191160 ] }, "hosts_bulk_action": { "organization_id": 114267492, "included": { "ids": [ 980191159, 980191160 ] } } } 200 { "total": 2, "subtotal": 2, "selectable": 2, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "application", "order": "desc" }, "results": [ { "id": 11, "application": "kernel", "helper": "reboot the system", "restart_command": "reboot", "app_type": "static", "host_id": 980191159, "host": "host211", "reboot_required": true }, { "id": 12, "application": "dbus", "helper": "reboot the system", "restart_command": "reboot", "app_type": "static", "host_id": 980191160, "host": "host212", "reboot_required": true } ] }
Param name | Description |
---|---|
organization_id
required |
ID of the organization Validations:
|
included
required |
Validations:
|
included[search]
optional , nil allowed |
Search string for hosts to perform an action on Validations:
|
included[ids]
optional , nil allowed |
List of host ids to perform an action on Validations:
|
excluded
required |
Validations:
|
excluded[ids]
optional , nil allowed |
List of host ids to exclude and not run an action on Validations:
|