Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.27. Method: setSoftwareFlexEntitlements

Description

Set an organization's flex entitlement allocation for the given software entitlement. If increasing the flex entitlement allocation, the default organization (i.e. orgId=1) must have a sufficient number of free flex 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