參數

參數名字 描述
organization_id
必填

組織的 ID

Validations:

  • Must be a number.

included
必填

Validations:

  • Hash

included[search]
選填 , 允許空值

Search string for hosts to perform an action on

Validations:

  • String

included[ids]
選填 , 允許空值

List of host ids to perform an action on

Validations:

  • Must be an array of any type

excluded
必填

Validations:

  • Hash

excluded[ids]
選填 , 允許空值

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