PUT /katello/api/host_collections/992660475/add_hosts
{
"host_ids": [
298486374,
692292738
],
"host_collection": {
"host_ids": [
298486374,
692292738
]
}
}
200
{
"displayMessages": {
"success": [
"Successfully added 2 Host(s)."
],
"error": []
}
}
| Param name | Description |
|---|---|
|
id
required |
Id of the host collection Validations:
|
|
host_ids
optional |
Array of host ids Validations:
|