Chapter 23. Namespace: org


Contains methods to access common organization management functions available from the web interface
Namespace: org

23.1. Method: create

Description

Create a new organization and associated administrator account

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string orgName - Organization name; must meet same criteria as in the web UI
  • string adminLogin - New administrator login name
  • string adminPassword - New administrator password
  • string prefix - New administrator's prefix; must match one of the values available in the web UI (i.e. Dr., Mr., Mrs., Sr., etc.)
  • string firstName - New administrator's first name
  • string lastName - New administrator's first name
  • string email - New administrator's e-mail
  • boolean usePamAuth - true if PAM authentication should be used for the new administrator account
Returns

The following return values are available for this method:

  • struct - organization info
    • int id
    • string name
    • int active_users - Number of active users in the organization
    • int systems - Number of systems in the organization
    • int trusts - Number of trusted organizations
    • int system_groups - Number of system groups in the organization (optional)
    • int activation_keys - Number of activation keys in the organization (optional)
    • int kickstart_profiles - Number of kickstart profiles in the organization (optional)
    • int configuration_channels - Number of configuration channels in the organization (optional)
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat