Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 13. Namespace: errata

Provides methods to access and modify errata.
Namespace: errata

13.1. Method: addPackages

Description

Add a set of packages to an erratum with the given advisory name. This method only allows for modification of custom errata created either through the UI or API.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string advisoryName
  • array:
    • int - packageId
Returns

The following return values are available for this method:

  • int - represents the number of packages added, exception otherwise