Skip to content

Not possible to update a child team to be top-level #1267

@ashlineldridge

Description

@ashlineldridge

Due to the omitempty tag on NewTeam.ParentTeamID it is not possible (in my understanding) to update a child team to be a top-level team. Because updating a team is a PATCH operation, when parent_team_id is omitted, GitHub does not update the team's parent.

Happy to submit a PR.

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