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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

host_collection_ids
必須

ホストコレクション ID の一覧

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

host_collection_ids
必須

ホストコレクション ID の一覧

Validations:

  • Must be an array of any type


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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.

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

content_type
必須

コンテンツのタイプです。次のタイプがサポートされています。'package'、'package_group' および 'errata'

Validations:

  • String

content
必須

コンテンツの一覧 (例: パッケージ名、パッケージグループ名またはエラータ ID)

Validations:

  • Must be an array of any type


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

content_type
必須

コンテンツのタイプです。次のタイプがサポートされています。'package' および 'package_group

Validations:

  • String

content
必須

コンテンツの一覧 (例: パッケージ名、パッケージグループ名)

Validations:

  • Must be an array of any type

update_all
任意

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

content_type
必須

コンテンツのタイプです。次のタイプがサポートされています。'package' および 'package_group

Validations:

  • String

content
必須

コンテンツの一覧 (例: パッケージ名、パッケージグループ名)

Validations:

  • Must be an array of any type


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

subscriptions
任意

Array of subscriptions to remove

Validations:

  • Must be an Array of nested elements

subscriptions[id]
必須

Subscription Pool id

Validations:

  • String

subscriptions[quantity]
任意

Quantity of specified subscription to remove

Validations:

  • Integer


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

subscriptions
必須

追加するサブスクリプションの配列

Validations:

  • Must be an Array of nested elements

subscriptions[id]
必須

Subscription Pool id

Validations:

  • String

subscriptions[quantity]
必須

追加するこのサブスクリプションの数量

Validations:

  • Must be a number.


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

content_overrides
任意

Array of Content override parameters

Validations:

  • Must be an Array of nested elements

content_overrides[content_label]
必須

コンテンツのラベル

Validations:

  • String

content_overrides[value]
任意

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

Validations:

  • String

content_overrides[name]
任意

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

Validations:

  • String

content_overrides[remove]
任意

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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

environment_id
任意

Validations:

  • Integer

content_view_id
任意

Validations:

  • Integer


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

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

release_version
任意

コンテンツリリースバージョン

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.

パラメーター

パラメーター名 記述
organization_id
必須

組織の ID

Validations:

  • Must be a number.

included
必須

Validations:

  • Hash

included[search]
任意 , nil可

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
任意 , nil可

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必須

Validations:

  • Hash

excluded[ids]
任意 , nil可

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

Validations:

  • Must be an array of any type

errata_ids
任意

エラータ ID の一覧

Validations:

  • Must be an array of any type