PUT /api/hosts/bulk/change_content_source
{
"environment_id": 562075838,
"content_view_id": 0,
"host_ids": [
980190962,
298486374,
692292738,
835059072,
529902380,
651939722,
980191151,
980191152
],
"hosts_bulk_action": {
"environment_id": 562075838,
"content_view_id": 0,
"host_ids": [
980190962,
298486374,
692292738,
835059072,
529902380,
651939722,
980191151,
980191152
]
}
}
404
{
"displayMessage": "Couldn't find Katello::ContentView with 'id'=0",
"errors": [
"Couldn't find Katello::ContentView with 'id'=0"
]
}
| Param name | Description |
|---|---|
|
host_ids
required |
The ids of the hosts to alter. Hosts not managed by Katello are ignored Validations:
|
|
environment_id
required |
The id of the lifecycle environment Validations:
|
|
content_view_id
required |
The id of the content view Validations:
|
|
content_source_id
required |
The id of the content source Validations:
|