PUT /api/hosts/bulk/add_host_collections
Add one or more host collections to one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

host_collection_ids
requerido

Lista de ID de recopilación de hosts

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/remove_host_collections
Remove one or more host collections from one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

host_collection_ids
requerido

Lista de ID de recopilación de hosts

Validations:

  • Must be an array of any type


POST /api/hosts/bulk/applicable_errata
Fetch applicable errata for a host.

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type


POST /api/hosts/bulk/installable_errata
Fetch installable errata for a host.

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/install_content
Install content on one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

content_type
requerido

El tipo de contenido. Se admiten los siguientes tipos: 'package' y 'package_group' y 'errata'.

Validations:

  • String

content
requerido

Lista de contenido (p. ej., nombres de paquetes, nombres de grupos de paquetes o ID de erratas)

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/update_content
Update content on one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

content_type
requerido

El tipo de contenido. Se admiten los siguientes tipos: 'package' y 'package_group.

Validations:

  • String

content
requerido

Lista de contenido (p. ej., nombres de paquetes o de grupos de paquetes)

Validations:

  • Must be an array of any type

update_all
opcional

Updates all packages on the host(s)

Validations:

  • Must be one of: true, false, 1, 0


PUT /api/hosts/bulk/remove_content
Remove content on one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

content_type
requerido

El tipo de contenido. Se admiten los siguientes tipos: 'package' y 'package_group.

Validations:

  • String

content
requerido

Lista de contenido (p. ej., nombres de paquetes o de grupos de paquetes)

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/destroy
Destroy one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/remove_subscriptions
Remove subscriptions from one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

subscriptions
opcional

Array of subscriptions to remove

Validations:

  • Must be an Array of nested elements

subscriptions[id]
requerido

Subscription Pool id

Validations:

  • String

subscriptions[quantity]
opcional

Quantity of specified subscription to remove

Validations:

  • Integer


PUT /api/hosts/bulk/add_subscriptions
Add subscriptions to one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

subscriptions
requerido

Selección de suscripciones para añadir

Validations:

  • Must be an Array of nested elements

subscriptions[id]
requerido

Subscription Pool id

Validations:

  • String

subscriptions[quantity]
requerido

Cantidad de estas suscripciones para añadir

Validations:

  • Must be a number.


PUT /api/hosts/bulk/auto_attach
Trigger an auto-attach of subscriptions on one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/content_overrides
Set content overrides to one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

content_overrides
opcional

Array of Content override parameters

Validations:

  • Must be an Array of nested elements

content_overrides[content_label]
requerido

Etiqueta del contenido

Validations:

  • String

content_overrides[value]
opcional

Override value. Provide a boolean value if name is 'enabled'

Validations:

  • String

content_overrides[name]
opcional

Override key or name. Note if name is not provided the default name will be 'enabled'

Validations:

  • String

content_overrides[remove]
opcional

Set true to remove an override and reset it to 'default'

Validations:

  • Must be one of: true, false, 1, 0


PUT /api/hosts/bulk/environment_content_view
Assign the environment and content view to one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

environment_id
opcional

Validations:

  • Integer

content_view_id
opcional

Validations:

  • Integer


PUT /api/hosts/bulk/release_version
Assign the release version to one or more hosts

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

release_version
opcional

versión de lanzamiento de contenido

Validations:

  • String


POST /api/hosts/bulk/available_incremental_updates
Given a set of hosts and errata, lists the content view versions and environments that need updating.

Parámetros

Nombre del parámetro Descripción
organization_id
requerido

ID de la organización

Validations:

  • Must be a number.

included
requerido

Validations:

  • Hash

included[search]
opcional , nil permitido

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
opcional , nil permitido

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
requerido

Validations:

  • Hash

excluded[ids]
opcional , nil permitido

List of host ids to exclude and not run an action on

Validations:

  • Must be an array of any type

errata_ids
opcional

Lista de ID de erratas

Validations:

  • Must be an array of any type