Examples

PUT /katello/api/host_collections/992660475/remove_hosts
{
  "host_ids": [
    298486374
  ],
  "host_collection": {
    "host_ids": [
      298486374
    ]
  }
}
200
{
  "displayMessages": {
    "success": [],
    "error": [
      "Host with ID 298486374 does not exist in the host collection."
    ]
  }
}

Params

Param name Description
id
required

Id of the host collection

Validations:

  • Must be a number.

host_ids
optional

Array of host ids

Validations:

  • Must be an array of any type