POST /api/hosts/bulk/traces
{
"organization_id": 114267492,
"included": {
"ids": [
980191290,
980191291
]
},
"hosts_bulk_action": {
"organization_id": 114267492,
"included": {
"ids": [
980191290,
980191291
]
}
}
}
200
{
"total": 2,
"subtotal": 2,
"selectable": 2,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": "application",
"order": "desc"
},
"results": [
{
"id": 13,
"application": "kernel",
"helper": "reboot the system",
"restart_command": "reboot",
"app_type": "static",
"host_id": 980191290,
"host": "host341",
"reboot_required": true
},
{
"id": 14,
"application": "dbus",
"helper": "reboot the system",
"restart_command": "reboot",
"app_type": "static",
"host_id": 980191291,
"host": "host342",
"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:
|