Skip to main content
Skip to content

Organisations

Documentation de référence sur les types de schéma GraphQL dans la catégorie Organisations.

Dans cet article

Queries

organization

Query

Lookup a organization by login.

Type: Organization

Arguments pour organization

NomDescription

login (String!)

The organization's login.

Mutations

addVerifiableDomain

Mutation

Adds a verifiable domain to an owning account.

Champs d’entrée pour addVerifiableDomain

Champs de retour pour addVerifiableDomain

NomDescription

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.

Champs d’entrée pour approveVerifiableDomain

Champs de retour pour approveVerifiableDomain

NomDescription

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.

Champs d’entrée pour deleteVerifiableDomain

Champs de retour pour deleteVerifiableDomain

NomDescription

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.

Champs d’entrée pour followOrganization

Champs de retour pour followOrganization

NomDescription

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.

Champs d’entrée pour regenerateVerifiableDomainToken

Champs de retour pour regenerateVerifiableDomainToken

NomDescription

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.

Champs d’entrée pour removeOutsideCollaborator

Champs de retour pour removeOutsideCollaborator

NomDescription

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.

Champs d’entrée pour setOrganizationInteractionLimit

Champs de retour pour setOrganizationInteractionLimit

NomDescription

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.

Champs d’entrée pour unfollowOrganization

Champs de retour pour unfollowOrganization

NomDescription

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.

Champs d’entrée pour updateOrganizationAllowPrivateRepositoryForkingSetting

Champs de retour pour updateOrganizationAllowPrivateRepositoryForkingSetting

NomDescription

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.

Champs d’entrée pour updateOrganizationWebCommitSignoffSetting

Champs de retour pour updateOrganizationWebCommitSignoffSetting

NomDescription

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.

Champs d’entrée pour verifyVerifiableDomain

Champs de retour pour verifyVerifiableDomain

NomDescription

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.

Champs pour EnterpriseFailedInvitationConnection

NomDescription

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.

Champs pour EnterpriseFailedInvitationEdge

NomDescription

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.

Champs pour EnterpriseOrganizationMembershipConnection

NomDescription

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.

Champs pour EnterpriseOrganizationMembershipEdge

NomDescription

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.

Champs pour EnterprisePendingMemberInvitationConnection

NomDescription

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.

Champs pour EnterprisePendingMemberInvitationEdge

NomDescription

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.

Champs pour EnterpriseTeamAssignedOrganizationConnection

NomDescription

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.

Champs pour EnterpriseTeamAssignedOrganizationEdge

NomDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

N/A

MemberFeatureRequestNotification

Object

Represents a member feature request notification.

MemberFeatureRequestNotification Met en œuvre

Champs pour MemberFeatureRequestNotification

NomDescription

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 Met en œuvre

Champs pour OrgAddBillingManagerAuditEntry

NomDescription

action (String!)

The action name.

Avertissement

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.

Avertissement

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.

Avertissement

actorIp is deprecated.

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

actorLocation (ActorLocation)

A readable representation of the actor's location.

Avertissement

actorLocation is deprecated.

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

actorLogin (String)

The username of the user who initiated the action.

Avertissement

actorLogin is deprecated.

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

actorResourcePath (URI)

The HTTP path for the actor.

Avertissement

actorResourcePath is deprecated.

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

actorUrl (URI)

The HTTP URL for the actor.

Avertissement

actorUrl is deprecated.

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

createdAt (PreciseDateTime!)

The time the action was initiated.

Avertissement

createdAt is deprecated.

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

id (ID!)

The Node ID of the OrgAddBillingManagerAuditEntry object.

invitationEmail (String)

The email address used to invite a billing manager for the organization.

Avertissement

invitationEmail is deprecated.

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

operationType (OperationType)

The corresponding operation type for the action.

Avertissement

operationType is deprecated.

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

organization (Organization)

The Organization associated with the Audit Entry.

Avertissement

organization is deprecated.

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

organizationName (String)

The name of the Organization.

Avertissement

organizationName is deprecated.

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

organizationResourcePath (URI)

The HTTP path for the organization.

Avertissement

organizationResourcePath is deprecated.

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

organizationUrl (URI)

The HTTP URL for the organization.

Avertissement

organizationUrl is deprecated.

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

user (User)

The user affected by the action.

Avertissement

user is deprecated.

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

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Avertissement

userLogin is deprecated.

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

userResourcePath (URI)

The HTTP path for the user.

Avertissement

userResourcePath is deprecated.

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

userUrl (URI)

The HTTP URL for the user.

Avertissement

userUrl is deprecated.

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

OrgAddMemberAuditEntry

Object

Audit log entry for a org.add_member.

OrgAddMemberAuditEntry Met en œuvre

Champs pour OrgAddMemberAuditEntry

NomDescription

action (String!)

The action name.

Avertissement

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.

Avertissement

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.

Avertissement

actorIp is deprecated.

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

actorLocation (ActorLocation)

A readable representation of the actor's location.

Avertissement

actorLocation is deprecated.

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

actorLogin (String)

The username of the user who initiated the action.

Avertissement

actorLogin is deprecated.

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

actorResourcePath (URI)

The HTTP path for the actor.

Avertissement

actorResourcePath is deprecated.

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

actorUrl (URI)

The HTTP URL for the actor.

Avertissement

actorUrl is deprecated.

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

createdAt (PreciseDateTime!)