Skip to content

Conversation

@Not-Dhananjay-Mishra
Copy link
Contributor

Related: #3860

This PR adds support for Enterprise Teams

  • GET /enterprises/{enterprise}/teams
  • POST /enterprises/{enterprise}/teams
  • GET /enterprises/{enterprise}/teams/{team_slug}
  • PATCH /enterprises/{enterprise}/teams/{team_slug}
  • DELETE /enterprises/{enterprise}/teams/{team_slug}

}

// EnterpriseTeamCreateOrUpdateRequest is used to create or update an enterprise team.
type EnterpriseTeamCreateOrUpdateRequest struct {
Copy link
Contributor Author

@Not-Dhananjay-Mishra Not-Dhananjay-Mishra Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This request struct has one field, sync_to_organizations, which isn’t added yet.
Its description says “Retired” Should I add it or leave it out?

Image

Similarly, the EnterpriseTeam has two fields, sync_to_organizations and group_name, which are marked as Retired.

    "group_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Retired: this field will not be returned with GHEC enterprise teams.",
      "examples": [
        "Justice League"
      ]
    },
    "sync_to_organizations": {
      "type": "string",
      "description": "Retired: this field will not be returned with GHEC enterprise teams.",
      "examples": [
        "disabled | all"
      ]
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant