Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.26. Method: setSoftwareEntitlements

Description

Set an organization's entitlement allocation for the given software entitlement. If increasing the entitlement allocation, the default organization (i.e. orgId=1) must have a sufficient number of free entitlements.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int orgId
  • string label - Software entitlement label
  • int allocation
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise