Skip to main content

legacy_teams

Overview

Namelegacy_teams
TypeResource
Idgithub.teams.legacy_teams

Fields

NameDatatypeDescription
idintegerUnique identifier of the team
namestringName of the team
descriptionstring
parentobjectGroups of organization members that gives permissions on specified repositories.
members_countinteger
html_urlstring
slugstring
privacystringThe level of privacy this team should have
organizationobjectOrganization Full
members_urlstring
node_idstring
repositories_urlstring
urlstringURL for the team
updated_atstring
created_atstring
repos_countinteger
permissionstringPermission that the team will have for its repositories
ldap_dnstringDistinguished Name (DN) that team maps to within LDAP environment

Methods

NameAccessible byRequired ParamsDescription
get_legacySELECTteam_idDeprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the Get a team by name endpoint.
delete_legacyDELETEteam_idDeprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Delete a team endpoint.

To delete a team, the authenticated user must be an organization owner or team maintainer.

If you are an organization owner, deleting a parent team will delete all of its child teams as well.
update_legacyEXECteam_id, data__nameDeprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Update a team endpoint.

To edit a team, the authenticated user must either be an organization owner or a team maintainer.

Note: With nested teams, the privacy for parent teams cannot be secret.