Skip to content

NewTeam missing notification_setting field #3107

Closed

Description

@ggabijaa

When creating a new team Github API let's to disable notifications for the team by setting notification_setting to notifications_disabled.
https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#create-a-team

However, this field is missing from NewTeam struct and prevents disabling it
https://pkg.go.dev/github.com/google/go-github/v60@v60.0.0/github#NewTeam

Would it be possible to add it?

Activity

  1. gmlewis commented on Mar 19, 2024

    @gmlewis
    Collaborator

    Absolutely! Would you like to create a PR, or shall I open this up to our other contributors to this repo?

  2. self-assigned this
    on Mar 25, 2024
  3. added a commit that references this issue on Mar 25, 2024
    8bec011
  4. added a commit that references this issue on Jun 28, 2026
    c9488ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions