( Return to API Overview )

Available methods

Description

Contains methods to access common organization management functions available from the web interface.

Namespace: org


Method: create

Description:
Create a new organization and associated administrator account.

Parameters:

Returns:


Method: delete

Description:
Delete an organization. The default organization (i.e. orgId=1) cannot be deleted.

Parameters:

Returns:


Method: getCrashFileSizeLimit

Description:
Get the organization wide crash file size limit. The limit value must be a non-negative number, zero means no limit.

Parameters:

Returns:


Method: getDetails

Description:
The detailed information about an organization given the organization ID.

Parameters:

Returns:


Method: getDetails

Description:
The detailed information about an organization given the organization name.

Parameters:

Returns:


Method: getPolicyForScapFileUpload

Description:
Get the status of SCAP detailed result file upload settings for the given organization.

Parameters:

Returns:


Method: getPolicyForScapResultDeletion

Description:
Get the status of SCAP result deletion settings for the given organization.

Parameters:

Returns:


Method: isCrashReportingEnabled

Description:
Get the status of crash reporting settings for the given organization. Returns true if enabled, false otherwise.

Parameters:

Returns:


Method: isCrashfileUploadEnabled

Description:
Get the status of crash file upload settings for the given organization. Returns true if enabled, false otherwise.

Parameters:

Returns:


Method: isErrataEmailNotifsForOrg

Description:
Returns whether errata e-mail notifications are enabled for the organization

Parameters:

Returns:


Method: isOrgConfigManagedByOrgAdmin

Description:
Returns whether Organization Administrator is able to manage his organization configuration. This organization configuration may have a high impact on the whole Spacewalk/Satellite performance

Parameters:

Returns:


Method: listOrgs

Description:
Returns the list of organizations.

Parameters:

Returns:


Method: listSoftwareEntitlements

Description:
List software entitlement allocation information across all organizations. Caller must be a satellite administrator.

Parameters:

Returns:


Method: listSoftwareEntitlements

Description:
List each organization's allocation of a given software entitlement. Organizations with no allocation will not be present in the list. A value of -1 indicates unlimited entitlements.

Deprecated - being replaced by listSoftwareEntitlements(string sessionKey, string label, boolean includeUnentitled)

Parameters:

Returns:


Method: listSoftwareEntitlements

Description:
List each organization's allocation of a given software entitlement. A value of -1 indicates unlimited entitlements.

Parameters:

Returns:

Available since: 10.4


Method: listSoftwareEntitlementsForOrg

Description:
List an organization's allocation of each software entitlement. A value of -1 indicates unlimited entitlements.

Parameters:

Returns:


Method: listSystemEntitlements

Description:
Lists system entitlement allocation information across all organizations. Caller must be a satellite administrator.

Parameters:

Returns:


Method: listSystemEntitlements

Description:
List each organization's allocation of a system entitlement. If the organization has no allocation for a particular entitlement, it will not appear in the list.

Deprecated - being replaced by listSystemEntitlements(string sessionKey, string label, boolean includeUnentitled)

Parameters:

Returns:


Method: listSystemEntitlements

Description:
List each organization's allocation of a system entitlement.

Parameters:

Returns:

Available since: 10.4


Method: listSystemEntitlementsForOrg

Description:
List an organization's allocation of each system entitlement.

Parameters:

Returns:


Method: listUsers

Description:
Returns the list of users in a given organization.

Parameters:

Returns:


Method: migrateSystems

Description:
Migrate systems from one organization to another. If executed by a Satellite administrator, the systems will be migrated from their current organization to the organization specified by the toOrgId. If executed by an organization administrator, the systems must exist in the same organization as that administrator and the systems will be migrated to the organization specified by the toOrgId. In any scenario, the origination and destination organizations must be defined in a trust.

Parameters:

Returns:


Method: setCrashFileSizeLimit

Description:
Set the organization wide crash file size limit. The limit value must be non-negative, zero means no limit.

Parameters:

Returns:


Method: setCrashReporting

Description:
Set the status of crash reporting settings for the given organization. Disabling crash reporting will automatically disable crash file upload.

Parameters:

Returns:


Method: setCrashfileUpload

Description:
Set the status of crash file upload settings for the given organization. Modifying the settings is possible as long as crash reporting is enabled.

Parameters:

Returns:


Method: setErrataEmailNotifsForOrg

Description:
Dis/enables errata e-mail notifications for the organization

Parameters:

Returns:


Method: setOrgConfigManagedByOrgAdmin

Description:
Sets whether Organization Administrator can manage his organization configuration. This organization configuration may have a high impact on the whole Spacewalk/Satellite performance

Parameters:

Returns:


Method: setPolicyForScapFileUpload

Description:
Set the status of SCAP detailed result file upload settings for the given organization.

Parameters:

Returns:


Method: setPolicyForScapResultDeletion

Description:
Set the status of SCAP result deletion settins for the given organization.

Parameters:

Returns:


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:

Returns:


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:

Returns:


Method: setSystemEntitlements

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:

Returns:


Method: updateName

Description:
Updates the name of an organization

Parameters:

Returns:


Generated on 10/5/2015