DEPRECATED
PUT /api/hosts/bulk/update_content { "included": { "ids": [ 980191153, 980191154 ] }, "organization_id": 114267492, "content_type": "package", "content": [ "foo" ], "hosts_bulk_action": { "included": { "ids": [ 980191153, 980191154 ] }, "organization_id": 114267492, "content_type": "package", "content": [ "foo" ] } } 204
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:
|
content_type
required |
The type of content. The following types are supported: 'package' and 'package_group. Validations:
|
content
required |
List of content (e.g. package or package group names) Validations:
|
update_all
optional |
Updates all packages on the host(s) Validations:
|