Skip to main content

Organizations

Reference documentation for GraphQL schema types in the Organizations category.

In this article

Queries

organization

Query

Lookup a organization by login.

Type: Organization

Arguments for organization

NameDescription

login (String!)

The organization's login.

Mutations

addVerifiableDomain

Mutation

Adds a verifiable domain to an owning account.

Input fields for addVerifiableDomain

Return fields for addVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was added.

approveVerifiableDomain

Mutation

Approve a verifiable domain for notification delivery.

Input fields for approveVerifiableDomain

Return fields for approveVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was approved.

deleteVerifiableDomain

Mutation

Deletes a verifiable domain.

Input fields for deleteVerifiableDomain

Return fields for deleteVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

owner (VerifiableDomainOwner)

The owning account from which the domain was deleted.

followOrganization

Mutation

Follow an organization.

Input fields for followOrganization

Return fields for followOrganization

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

organization (Organization)

The organization that was followed.

regenerateVerifiableDomainToken

Mutation

Regenerates a verifiable domain's verification token.

Input fields for regenerateVerifiableDomainToken

Return fields for regenerateVerifiableDomainToken

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

verificationToken (String)

The verification token that was generated.

removeOutsideCollaborator

Mutation

Removes outside collaborator from all repositories in an organization.

Input fields for removeOutsideCollaborator

Return fields for removeOutsideCollaborator

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

removedUser (User)

The user that was removed as an outside collaborator.

setOrganizationInteractionLimit

Mutation

Set an organization level interaction limit for an organization's public repositories.

Input fields for setOrganizationInteractionLimit

Return fields for setOrganizationInteractionLimit

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

organization (Organization)

The organization that the interaction limit was set for.

unfollowOrganization

Mutation

Unfollow an organization.

Input fields for unfollowOrganization

Return fields for unfollowOrganization

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

organization (Organization)

The organization that was unfollowed.

updateOrganizationAllowPrivateRepositoryForkingSetting

Mutation

Sets whether private repository forks are enabled for an organization.

Input fields for updateOrganizationAllowPrivateRepositoryForkingSetting

Return fields for updateOrganizationAllowPrivateRepositoryForkingSetting

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

message (String)

A message confirming the result of updating the allow private repository forking setting.

organization (Organization)

The organization with the updated allow private repository forking setting.

updateOrganizationWebCommitSignoffSetting

Mutation

Sets whether contributors are required to sign off on web-based commits for repositories in an organization.

Input fields for updateOrganizationWebCommitSignoffSetting

Return fields for updateOrganizationWebCommitSignoffSetting

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

message (String)

A message confirming the result of updating the web commit signoff setting.

organization (Organization)

The organization with the updated web commit signoff setting.

verifyVerifiableDomain

Mutation

Verify that a verifiable domain has the expected DNS record.

Input fields for verifyVerifiableDomain

Return fields for verifyVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was verified.

Objects

EnterpriseFailedInvitationConnection

Object

The connection type for OrganizationInvitation.

Fields for EnterpriseFailedInvitationConnection

NameDescription

edges ([EnterpriseFailedInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterpriseFailedInvitationEdge

Object

A failed invitation to be a member in an enterprise organization.

Fields for EnterpriseFailedInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

EnterpriseOrganizationMembershipConnection

Object

The connection type for Organization.

Fields for EnterpriseOrganizationMembershipConnection

NameDescription

edges ([EnterpriseOrganizationMembershipEdge])

A list of edges.

nodes ([Organization])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseOrganizationMembershipEdge

Object

An enterprise organization that a user is a member of.

Fields for EnterpriseOrganizationMembershipEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

The item at the end of the edge.

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterprisePendingMemberInvitationConnection

Object

The connection type for OrganizationInvitation.

Fields for EnterprisePendingMemberInvitationConnection

NameDescription

edges ([EnterprisePendingMemberInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterprisePendingMemberInvitationEdge

Object

An invitation to be a member in an enterprise organization.

Fields for EnterprisePendingMemberInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

EnterpriseTeamAssignedOrganizationConnection

Object

The connection type for Organization.

Fields for EnterpriseTeamAssignedOrganizationConnection

NameDescription

edges ([EnterpriseTeamAssignedOrganizationEdge])

A list of edges.

nodes ([Organization])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseTeamAssignedOrganizationEdge

Object

Represents an organization that an enterprise team is assigned to.

Fields for EnterpriseTeamAssignedOrganizationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

N/A

MemberFeatureRequestNotification

Object

Represents a member feature request notification.

MemberFeatureRequestNotification Implements

Fields for MemberFeatureRequestNotification

NameDescription

body (String!)

Represents member feature request body containing entity name and the number of feature requests.

id (ID!)

The Node ID of the MemberFeatureRequestNotification object.

title (String!)

Represents member feature request notification title.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

OrgAddBillingManagerAuditEntry

Object

Audit log entry for a org.add_billing_manager.

OrgAddBillingManagerAuditEntry Implements

Fields for OrgAddBillingManagerAuditEntry

NameDescription

action (String!)

The action name.

Warning

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Warning

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.