BusinessAdminInfo

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Unified business identity preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

Business information only visible to admins

Connections

admins (UserConnection!)

A list of all of the admins for this business.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

query String

The search string to look for.

affiliatedUsersWithTwoFactorDisabled (UserConnection!)

A list of users in the business who currently have two-factor authentication disabled

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided private repository forking setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided default repository permission.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value DefaultRepositoryPermissionField!

The permission to find organizations for.

membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided can change repository visibility setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided repository creation setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value OrganizationMembersCanCreateRepositoriesSettingValue!

The setting to find organizations for.

membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided members can delete issues setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided members can delete repositories setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided members can invite collaborators setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

organizationProjectsSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided organization projects setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

pendingAdminInvitations (BusinessMemberInvitationConnection!)

A list of pending admin invitations for the business.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

query String

The search string to look for.

pendingMemberInvitations (BusinessPendingMemberInvitationConnection!)

A list of pending member invitations in the business.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

query String

The search string to look for.

repositoryProjectsSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided repository projects setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

teamDiscussionsSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the provided team discussions setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

twoFactorRequiredSettingOrganizations (OrganizationConnection!)

A list of business organizations configured with the two factor authentication setting value.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations with this setting.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

value Boolean!

The setting value to find organizations for.

Fields

affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

Whether or not affiliated users with two-factor auth disabled exist in the business.

allowPrivateRepositoryForkingSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether private repository forking is enabled for repositories in organizations in this business.

defaultRepositoryPermissionSetting (BusinessDefaultRepositoryPermissionSettingValue!)

The setting value for base repository permissions for organizations in this business.

isUpdatingDefaultRepositoryPermission (Boolean!)

Whether or not the default repository permission is currently being updated.

isUpdatingTwoFactorRequirement (Boolean!)

Whether the two factor requirement is currently being enforced

membersCanChangeRepositoryVisibilitySetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether organization members with admin permissions on a repository can change repository visibility.

membersCanCreateRepositoriesSetting (BusinessMembersCanCreateRepositoriesSettingValue!)

The setting value for whether members of organizations in the business can create repositories.

membersCanDeleteIssuesSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete issues.

membersCanDeleteRepositoriesSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

membersCanInviteCollaboratorsSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether members of organizations in the business can invite outside collaborators.

membersCanUpdateProtectedBranchesSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can update protected branches.

organizationProjectsSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether organization projects are enabled for organizations in this business.

repositoryProjectsSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether repository projects are enabled in this business.

samlIdentityProvider (BusinessIdentityProvider)

The SAML Identity Provider for the business

teamDiscussionsSetting (BusinessEnabledDisabledSettingValue!)

The setting value for whether team discussions are enabled for organizations in this business.

twoFactorRequiredSetting (BusinessEnabledSettingValue!)

The setting value for whether the business requires two factor authentication for its organizations and users