PUT /api/hosts/bulk/add_host_collections
Ajouter une ou plusieurs collections d'hôte à un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

host_collection_ids
Required

Liste d'id de collection d'hôtes

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/remove_host_collections
Supprimer une ou plusieurs collections d'hôtes d'un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

host_collection_ids
Required

Liste d'id de collection d'hôtes

Validations:

  • Must be an array of any type


POST /api/hosts/bulk/applicable_errata
Récupérer les erratas applicables pour un système.

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/install_content
Installer le contenu sur un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

content_type
Required

Le type de contenu. Les types suivants sont pris en charge : « paquet » (package), « groupe de paquets » (package_group) et « errata ».

Validations:

  • String

content
Required

Liste de contenu (ex : noms de paquets, noms de groupes de paquets ou id d'erratas)

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/update_content
Mettre à jour le contenu d'un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

content_type
Required

Le type de contenu. Les types suivants sont pris en charge : « paquet » (package) et « groupe de paquets » (package_group).

Validations:

  • String

content
Required

Liste de contenu (ex : noms de paquet ou de groupe de paquets)

Validations:

  • Must be an array of any type

update_all
Optional

Updates all packages on the host(s)

Validations:

  • boolean


PUT /api/hosts/bulk/remove_content
Supprimer le contenu d'un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

content_type
Required

Le type de contenu. Les types suivants sont pris en charge : « paquet » (package) et « groupe de paquets » (package_group).

Validations:

  • String

content
Required

Liste de contenu (ex : noms de paquet ou de groupe de paquets)

Validations:

  • Must be an array of any type


PUT /api/hosts/bulk/destroy
Détruire un ou plusieurs hôtes

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type


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

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

subscriptions
Optional

Ensemble d'abonnements à supprimer

Validations:

  • Must be an Array of nested elements

subscriptions[id]
Required

ID Pool Abonnement

Validations:

  • String

subscriptions[quantity]
Optional

Quantity of specified subscription to remove

Validations:

  • Integer


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

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

subscriptions
Required

Ensemble d'abonnements à ajouter

Validations:

  • Must be an Array of nested elements

subscriptions[id]
Required

ID Pool Abonnement

Validations:

  • String

subscriptions[quantity]
Required

Quantité de cet abonnement à ajouter

Validations:

  • number.


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

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type


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

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

environment_id
Optional

Validations:

  • Integer

content_view_id
Optional

Validations:

  • Integer


POST /api/hosts/bulk/available_incremental_updates
Pour un ensemble d'hôtes et d'errata, liste les environnements et les versions d'affichage de contenu qui ont besoin d'être mis à jour.

Params

Param Name Description
organization_id
Required

ID de l'organisation

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

included
Required

Validations:

  • Hash

included[search]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Rechercher une chaîne pour que les systèmes puissent effectuer une action dessus

Validations:

  • String

included[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de système sur lesquels effectuer une action

Validations:

  • Must be an array of any type

excluded
Required

Validations:

  • Hash

excluded[ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Liste d'id de systèmes à exclure et sur lesquels ne pas effectuer d'action

Validations:

  • Must be an array of any type

errata_ids
Optional

Énumérer les ID d'errata

Validations:

  • Must be an array of any type