Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-09-22. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.

Teams

Reference documentation for GraphQL schema types in the Teams category.

Mutations

updateTeamsRepository

Mutation

Update team repository.

Input fields for updateTeamsRepository

Return fields for updateTeamsRepository

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that was updated.

teams ([Team!])

The teams granted permission on the repository.

Objects

OrganizationTeamsHovercardContext

Object

An organization teams hovercard context.

OrganizationTeamsHovercardContext Implements

Fields for OrganizationTeamsHovercardContext

NameDescription

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

relevantTeams (TeamConnection!)

Teams in this organization the user is a member of that are relevant.

Arguments for relevantTeams

  • 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.

teamsResourcePath (URI!)

The path for the full team list for this user.

teamsUrl (URI!)

The URL for the full team list for this user.

totalTeamCount (Int!)

The total number of teams the user is on in the organization.

Team

Object

A team of users in an organization.

Team Implements

Fields for Team

NameDescription

ancestors (TeamConnection!)

A list of teams that are ancestors of this team.

Arguments for ancestors

  • after (String)

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