Red Hat Training

A Red Hat training course is available for Red Hat Satellite

4.20. Method: removePackages

Description

Remove package names from an activation key.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string key
  • array:
    • struct - packages
      • string name - Package name
      • string arch - Architecture label (optional)
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.