{"meta":{"title":"Teams","intro":"Reference documentation for GraphQL schema types in the Teams category.","product":"GraphQL API","breadcrumbs":[{"href":"/en/graphql","title":"GraphQL API"},{"href":"/en/graphql/reference","title":"Reference"},{"href":"/en/graphql/reference/teams","title":"Teams"}],"documentType":"article"},"body":"# Teams\n\nReference documentation for GraphQL schema types in the Teams category.\n\n## OrganizationTeamsHovercardContext - object\n\nAn organization teams hovercard context.\n\n**Implements:** HovercardContext\n\n### Fields for `OrganizationTeamsHovercardContext`\n\n* `message` (String!): A string describing this context.\n* `octicon` (String!): An octicon to accompany this context.\n* `relevantTeams` (TeamConnection!): Teams in this organization the user is a member of that are relevant. _(Pagination: `after`, `before`, `first`, `last`)_\n* `teamsResourcePath` (URI!): The path for the full team list for this user.\n* `teamsUrl` (URI!): The URL for the full team list for this user.\n* `totalTeamCount` (Int!): The total number of teams the user is on in the organization.\n\n## Team - object\n\nA team of users in an organization.\n\n**Implements:** MemberStatusable, Node, Subscribable, TeamReviewRequestable\n\n### Fields for `Team`\n\n* `ancestors` (TeamConnection!): A list of teams that are ancestors of this team. _(Pagination: `after`, `before`, `first`, `last`)_\n* `avatarUrl` (URI): A URL pointing to the team's avatar.\n  * `size` (Int): The size in pixels of the resulting square image. Default: `400`.\n\n* `childTeams` (TeamConnection!): List of child teams belonging to this team.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `first` (Int): Returns the first n elements from the list.\n  * `immediateOnly` (Boolean): Whether to list immediate child teams or all descendant child teams. Default: `true`.\n  * `last` (Int): Returns the last n elements from the list.\n  * `orderBy` (TeamOrder): Order for connection.\n  * `userLogins` ([String!]): User logins to filter by.\n\n* `combinedSlug` (String!): The slug corresponding to the organization and team.\n* `createdAt` (DateTime!): Identifies the date and time when the object was created.\n* `databaseId` (Int): Identifies the primary key from the database.\n* `description` (String): The description of the team.\n* `editTeamResourcePath` (URI!): The HTTP path for editing this team.\n* `editTeamUrl` (URI!): The HTTP URL for editing this team.\n* `id` (ID!): The Node ID of the Team object.\n* `invitations` (OrganizationInvitationConnection): A list of pending invitations for users to this team. _(Pagination: `after`, `before`, `first`, `last`)_\n* `memberStatuses` (UserStatusConnection!): Get the status messages members of this entity have set that are either public or visible only to the organization.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `first` (Int): Returns the first n elements from the list.\n  * `last` (Int): Returns the last n elements from the list.\n  * `orderBy` (UserStatusOrder): Ordering options for user statuses returned from the connection.\n\n* `members` (TeamMemberConnection!): A list of users who are members of this team.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `first` (Int): Returns the first n elements from the list.\n  * `last` (Int): Returns the last n elements from the list.\n  * `membership` (TeamMembershipType): Filter by membership type. Default: `ALL`.\n  * `orderBy` (TeamMemberOrder): Order for the connection.\n  * `query` (String): The search string to look for.\n  * `role` (TeamMemberRole): Filter by team member role.\n\n* `membersResourcePath` (URI!): The HTTP path for the team' members.\n* `membersUrl` (URI!): The HTTP URL for the team' members.\n* `name` (String!): The name of the team.\n* `newTeamResourcePath` (URI!): The HTTP path creating a new team.\n* `newTeamUrl` (URI!): The HTTP URL creating a new team.\n* `notificationSetting` (TeamNotificationSetting!): The notification setting that the team has set.\n* `organization` (Organization!): The organization that owns this team.\n* `parentTeam` (Team): The parent team of the team.\n* `privacy` (TeamPrivacy!): The level of privacy the team has.\n* `projectV2` (ProjectV2): Finds and returns the project according to the provided project number.\n  * `number` (Int!): The Project number.\n\n* `projectsV2` (ProjectV2Connection!): List of projects this team has collaborator access to.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `filterBy` (ProjectV2Filters): Filtering options for projects returned from this connection.\n  * `first` (Int): Returns the first n elements from the list.\n  * `last` (Int): Returns the last n elements from the list.\n  * `minPermissionLevel` (ProjectV2PermissionLevel): Filter projects based on user role. Default: `READ`.\n  * `orderBy` (ProjectV2Order): How to order the returned projects.\n  * `query` (String): The query to search projects by. Default: ``.\n\n* `repositories` (TeamRepositoryConnection!): A list of repositories this team has access to.\n  * `after` (String): Returns the elements in the list that come after the specified cursor.\n  * `before` (String): Returns the elements in the list that come before the specified cursor.\n  * `first` (Int): Returns the first n elements from the list.\n  * `last` (Int): Returns the last n elements from the list.\n  * `orderBy` (TeamRepositoryOrder): Order for the connection.\n  * `query` (String): The search string to look for. Repositories will be returned where the name contains your search string.\n\n* `repositoriesResourcePath` (URI!): The HTTP path for this team's repositories.\n* `repositoriesUrl` (URI!): The HTTP URL for this team's repositories.\n* `resourcePath` (URI!): The HTTP path for this team.\n* `reviewRequestDelegationAlgorithm` (TeamReviewAssignmentAlgorithm): What algorithm is used for review assignment for this team.\n* `reviewRequestDelegationEnabled` (Boolean!): True if review assignment is enabled for this team.\n* `reviewRequestDelegationMemberCount` (Int): How many team members are required for review assignment for this team.\n* `reviewRequestDelegationNotifyTeam` (Boolean!): When assigning team members via delegation, whether the entire team should be notified as well.\n* `slug` (String!): The slug corresponding to the team.\n* `teamsResourcePath` (URI!): The HTTP path for this team's teams.\n* `teamsUrl` (URI!): The HTTP URL for this team's teams.\n* `updatedAt` (DateTime!): Identifies the date and time when the object was last updated.\n* `url` (URI!): The HTTP URL for this team.\n* `viewerCanAdminister` (Boolean!): Team is adminable by the viewer.\n* `viewerCanSubscribe` (Boolean!): Check if the viewer is able to change their subscription status for the subscribable entity. **Deprecated:** Team.viewerCanSubscribe will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.\n* `viewerSubscription` (SubscriptionState): Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. **Deprecated:** Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.\n\n## TeamAddMemberAuditEntry - object\n\nAudit log entry for a team.add_member event.\n\n**Implements:** AuditEntry, Node, OrganizationAuditEntryData, TeamAuditEntryData\n\n### Fields for `TeamAddMemberAuditEntry`\n\n* `action` (String!): The action name. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actor` (AuditEntryActor): The user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorIp` (String): The IP address of the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLocation` (ActorLocation): A readable representation of the actor's location. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLogin` (String): The username of the user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorResourcePath` (URI): The HTTP path for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorUrl` (URI): The HTTP URL for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `createdAt` (PreciseDateTime!): The time the action was initiated. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `id` (ID!): The Node ID of the TeamAddMemberAuditEntry object.\n* `isLdapMapped` (Boolean): Whether the team was mapped to an LDAP Group. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `operationType` (OperationType): The corresponding operation type for the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organization` (Organization): The Organization associated with the Audit Entry. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationName` (String): The name of the Organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationResourcePath` (URI): The HTTP path for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationUrl` (URI): The HTTP URL for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n* `user` (User): The user affected by the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userLogin` (String): For actions involving two users, the actor is the initiator and the user is the affected user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userResourcePath` (URI): The HTTP path for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userUrl` (URI): The HTTP URL for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n\n## TeamAddRepositoryAuditEntry - object\n\nAudit log entry for a team.add_repository event.\n\n**Implements:** AuditEntry, Node, OrganizationAuditEntryData, RepositoryAuditEntryData, TeamAuditEntryData\n\n### Fields for `TeamAddRepositoryAuditEntry`\n\n* `action` (String!): The action name. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actor` (AuditEntryActor): The user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorIp` (String): The IP address of the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLocation` (ActorLocation): A readable representation of the actor's location. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLogin` (String): The username of the user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorResourcePath` (URI): The HTTP path for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorUrl` (URI): The HTTP URL for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `createdAt` (PreciseDateTime!): The time the action was initiated. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `id` (ID!): The Node ID of the TeamAddRepositoryAuditEntry object.\n* `isLdapMapped` (Boolean): Whether the team was mapped to an LDAP Group. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `operationType` (OperationType): The corresponding operation type for the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organization` (Organization): The Organization associated with the Audit Entry. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationName` (String): The name of the Organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationResourcePath` (URI): The HTTP path for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationUrl` (URI): The HTTP URL for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `repository` (Repository): The repository associated with the action.\n* `repositoryName` (String): The name of the repository.\n* `repositoryResourcePath` (URI): The HTTP path for the repository.\n* `repositoryUrl` (URI): The HTTP URL for the repository.\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n* `user` (User): The user affected by the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userLogin` (String): For actions involving two users, the actor is the initiator and the user is the affected user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userResourcePath` (URI): The HTTP path for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userUrl` (URI): The HTTP URL for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n\n## TeamAuditEntryData - interface\n\nMetadata for an audit entry with action team.*.\n\n### Fields for `TeamAuditEntryData`\n\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n\n### Implemented by\n\n* OrgRestoreMemberMembershipTeamAuditEntryData\n* TeamAddMemberAuditEntry\n* TeamAddRepositoryAuditEntry\n* TeamChangeParentTeamAuditEntry\n* TeamRemoveMemberAuditEntry\n* TeamRemoveRepositoryAuditEntry\n\n## TeamChangeParentTeamAuditEntry - object\n\nAudit log entry for a team.change_parent_team event.\n\n**Implements:** AuditEntry, Node, OrganizationAuditEntryData, TeamAuditEntryData\n\n### Fields for `TeamChangeParentTeamAuditEntry`\n\n* `action` (String!): The action name. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actor` (AuditEntryActor): The user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorIp` (String): The IP address of the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLocation` (ActorLocation): A readable representation of the actor's location. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLogin` (String): The username of the user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorResourcePath` (URI): The HTTP path for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorUrl` (URI): The HTTP URL for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `createdAt` (PreciseDateTime!): The time the action was initiated. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `id` (ID!): The Node ID of the TeamChangeParentTeamAuditEntry object.\n* `isLdapMapped` (Boolean): Whether the team was mapped to an LDAP Group. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `operationType` (OperationType): The corresponding operation type for the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organization` (Organization): The Organization associated with the Audit Entry. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationName` (String): The name of the Organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationResourcePath` (URI): The HTTP path for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationUrl` (URI): The HTTP URL for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeam` (Team): The new parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamName` (String): The name of the new parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamNameWas` (String): The name of the former parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamResourcePath` (URI): The HTTP path for the parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamUrl` (URI): The HTTP URL for the parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamWas` (Team): The former parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamWasResourcePath` (URI): The HTTP path for the previous parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `parentTeamWasUrl` (URI): The HTTP URL for the previous parent team. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n* `user` (User): The user affected by the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userLogin` (String): For actions involving two users, the actor is the initiator and the user is the affected user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userResourcePath` (URI): The HTTP path for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userUrl` (URI): The HTTP URL for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n\n## TeamConnection - object\n\nThe connection type for Team.\n\n### Fields for `TeamConnection`\n\n* `edges` ([TeamEdge]): A list of edges.\n* `nodes` ([Team]): A list of nodes.\n* `pageInfo` (PageInfo!): Information to aid in pagination.\n* `totalCount` (Int!): Identifies the total count of items in the connection.\n\n## TeamEdge - object\n\nAn edge in a connection.\n\n### Fields for `TeamEdge`\n\n* `cursor` (String!): A cursor for use in pagination.\n* `node` (Team): The item at the end of the edge.\n\n## TeamMemberOrder - input object\n\nOrdering options for team member connections.\n\n### Input fields for `TeamMemberOrder`\n\n* `direction` (OrderDirection!): The ordering direction.\n* `field` (TeamMemberOrderField!): The field to order team members by.\n\n## TeamMemberOrderField - enum\n\nProperties by which team member connections can be ordered.\n\n### Values for `TeamMemberOrderField`\n\n* `CREATED_AT`: Order team members by creation time.\n* `LOGIN`: Order team members by login.\n\n## TeamMemberRole - enum\n\nThe possible team member roles; eithermaintaineror 'member'.\n\n### Values for `TeamMemberRole`\n\n* `MAINTAINER`: A team maintainer has permission to add and remove team members.\n* `MEMBER`: A team member has no administrative permissions on the team.\n\n## TeamMembershipType - enum\n\nDefines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL.\n\n### Values for `TeamMembershipType`\n\n* `ALL`: Includes immediate and child team members for the team.\n* `CHILD_TEAM`: Includes only child team members for the team.\n* `IMMEDIATE`: Includes only immediate members of the team.\n\n## TeamNotificationSetting - enum\n\nThe possible team notification values.\n\n### Values for `TeamNotificationSetting`\n\n* `NOTIFICATIONS_DISABLED`: No one will receive notifications.\n* `NOTIFICATIONS_ENABLED`: Everyone will receive notifications when the team is @mentioned.\n\n## TeamOrder - input object\n\nWays in which team connections can be ordered.\n\n### Input fields for `TeamOrder`\n\n* `direction` (OrderDirection!): The direction in which to order nodes.\n* `field` (TeamOrderField!): The field in which to order nodes by.\n\n## TeamOrderField - enum\n\nProperties by which team connections can be ordered.\n\n### Values for `TeamOrderField`\n\n* `NAME`: Allows ordering a list of teams by name.\n\n## TeamPrivacy - enum\n\nThe possible team privacy values.\n\n### Values for `TeamPrivacy`\n\n* `SECRET`: A secret team can only be seen by its members.\n* `VISIBLE`: A visible team can be seen and @mentioned by every member of the organization.\n\n## TeamRemoveMemberAuditEntry - object\n\nAudit log entry for a team.remove_member event.\n\n**Implements:** AuditEntry, Node, OrganizationAuditEntryData, TeamAuditEntryData\n\n### Fields for `TeamRemoveMemberAuditEntry`\n\n* `action` (String!): The action name. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actor` (AuditEntryActor): The user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorIp` (String): The IP address of the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLocation` (ActorLocation): A readable representation of the actor's location. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLogin` (String): The username of the user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorResourcePath` (URI): The HTTP path for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorUrl` (URI): The HTTP URL for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `createdAt` (PreciseDateTime!): The time the action was initiated. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `id` (ID!): The Node ID of the TeamRemoveMemberAuditEntry object.\n* `isLdapMapped` (Boolean): Whether the team was mapped to an LDAP Group. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `operationType` (OperationType): The corresponding operation type for the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organization` (Organization): The Organization associated with the Audit Entry. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationName` (String): The name of the Organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationResourcePath` (URI): The HTTP path for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationUrl` (URI): The HTTP URL for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n* `user` (User): The user affected by the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userLogin` (String): For actions involving two users, the actor is the initiator and the user is the affected user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userResourcePath` (URI): The HTTP path for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userUrl` (URI): The HTTP URL for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n\n## TeamRemoveRepositoryAuditEntry - object\n\nAudit log entry for a team.remove_repository event.\n\n**Implements:** AuditEntry, Node, OrganizationAuditEntryData, RepositoryAuditEntryData, TeamAuditEntryData\n\n### Fields for `TeamRemoveRepositoryAuditEntry`\n\n* `action` (String!): The action name. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actor` (AuditEntryActor): The user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorIp` (String): The IP address of the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLocation` (ActorLocation): A readable representation of the actor's location. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorLogin` (String): The username of the user who initiated the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorResourcePath` (URI): The HTTP path for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `actorUrl` (URI): The HTTP URL for the actor. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `createdAt` (PreciseDateTime!): The time the action was initiated. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `id` (ID!): The Node ID of the TeamRemoveRepositoryAuditEntry object.\n* `isLdapMapped` (Boolean): Whether the team was mapped to an LDAP Group. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `operationType` (OperationType): The corresponding operation type for the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organization` (Organization): The Organization associated with the Audit Entry. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationName` (String): The name of the Organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationResourcePath` (URI): The HTTP path for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `organizationUrl` (URI): The HTTP URL for the organization. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `repository` (Repository): The repository associated with the action.\n* `repositoryName` (String): The name of the repository.\n* `repositoryResourcePath` (URI): The HTTP path for the repository.\n* `repositoryUrl` (URI): The HTTP URL for the repository.\n* `team` (Team): The team associated with the action.\n* `teamName` (String): The name of the team.\n* `teamResourcePath` (URI): The HTTP path for this team.\n* `teamUrl` (URI): The HTTP URL for this team.\n* `user` (User): The user affected by the action. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userLogin` (String): For actions involving two users, the actor is the initiator and the user is the affected user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userResourcePath` (URI): The HTTP path for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n* `userUrl` (URI): The HTTP URL for the user. **Deprecated:** The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.\n\n## TeamRepositoryOrder - input object\n\nOrdering options for team repository connections.\n\n### Input fields for `TeamRepositoryOrder`\n\n* `direction` (OrderDirection!): The ordering direction.\n* `field` (TeamRepositoryOrderField!): The field to order repositories by.\n\n## TeamRepositoryOrderField - enum\n\nProperties by which team repository connections can be ordered.\n\n### Values for `TeamRepositoryOrderField`\n\n* `CREATED_AT`: Order repositories by creation time.\n* `NAME`: Order repositories by name.\n* `PERMISSION`: Order repositories by permission.\n* `PUSHED_AT`: Order repositories by push time.\n* `STARGAZERS`: Order repositories by number of stargazers.\n* `UPDATED_AT`: Order repositories by update time.\n\n## TeamReviewAssignmentAlgorithm - enum\n\nThe possible team review assignment algorithms.\n\n### Values for `TeamReviewAssignmentAlgorithm`\n\n* `LOAD_BALANCE`: Balance review load across the entire team.\n* `ROUND_ROBIN`: Alternate reviews between each team member.\n\n## TeamReviewRequestable - interface\n\nRepresents a team that can be requested to review a pull request.\n\n### Fields for `TeamReviewRequestable`\n\n* `id` (ID!): The Node ID of the TeamReviewRequestable object.\n* `name` (String!): The name of the team.\n* `slug` (String!): A unique, human-readable identifier for the team.\n\n### Implemented by\n\n* EnterpriseTeam\n* Team\n\n## TeamRole - enum\n\nThe role of a user on a team.\n\n### Values for `TeamRole`\n\n* `ADMIN`: User has admin rights on the team.\n* `MEMBER`: User is a member of the team.\n\n## updateTeamsRepository - mutation\n\nUpdate team repository.\n\n### Input fields for `updateTeamsRepository`\n\n* `input` (UpdateTeamsRepositoryInput!): \n\n### Return fields for `updateTeamsRepository`\n\n* `clientMutationId` (String): A unique identifier for the client performing the mutation.\n* `repository` (Repository): The repository that was updated.\n* `teams` ([Team!]): The teams granted permission on the repository.\n\n## UpdateTeamsRepositoryInput - input object\n\nAutogenerated input type of UpdateTeamsRepository.\n\n### Input fields for `UpdateTeamsRepositoryInput`\n\n* `clientMutationId` (String): A unique identifier for the client performing the mutation.\n* `permission` (RepositoryPermission!): Permission that should be granted to the teams.\n* `repositoryId` (ID!): Repository ID being granted access to.\n* `teamIds` ([ID!]!): A list of teams being granted access. Limit: 10."}