POST /katello/api/organizations/114267492/host_collections
{
"name": "Collection A",
"description": "Collection A, World Cup 2014",
"host_ids": [
980191204
],
"unlimited_hosts": true,
"host_collection": {
"name": "Collection A",
"description": "Collection A, World Cup 2014",
"unlimited_hosts": true,
"host_ids": [
980191204
]
}
}
201
{
"host_ids": [
980191204
],
"name": "Collection A",
"organization_id": 114267492,
"max_hosts": null,
"description": "Collection A, World Cup 2014",
"total_hosts": 1,
"unlimited_hosts": true,
"created_at": "2022-11-08 19:23:52 UTC",
"updated_at": "2022-11-08 19:23:52 UTC",
"id": 1031461454,
"permissions": {
"deletable": true,
"editable": true
}
}
| Param name | Description |
|---|---|
|
organization_id required |
organization identifier Validations:
|
|
name required |
Host Collection name Validations:
|
|
description optional |
Validations:
|
|
host_ids optional |
List of host ids to replace the hosts in host collection Validations:
|
|
max_hosts optional |
Maximum number of hosts in the host collection Validations:
|
|
unlimited_hosts optional |
Whether or not the host collection may have unlimited hosts Validations:
|