Skip to content

Remove deprecated permission property from NewTeam struct in CreateTeam.#4098

Open
maishivamhoo123 wants to merge 2 commits intogoogle:masterfrom
maishivamhoo123:fix/Removed_deprecated_permission_property
Open

Remove deprecated permission property from NewTeam struct in CreateTeam.#4098
maishivamhoo123 wants to merge 2 commits intogoogle:masterfrom
maishivamhoo123:fix/Removed_deprecated_permission_property

Conversation

@maishivamhoo123
Copy link
Contributor

Fixes #4077

Removed the deprecated permission property from the NewTeam struct request payload when a team is created.

Affected endpoints:

POST /orgs/{org}/teams

@gmlewis
Copy link
Collaborator

gmlewis commented Mar 16, 2026

@maishivamhoo123 - we have a challenge removing deprecated fields in this client library because we also support GitHub Enterprise users who often use this repo with older versions of GitHub Enterprise that still use deprecated fields.

To support the new API, we won't necessarily be removing deprecated fields, but we may be marking fields as deprecated and adding support for new/modified endpoints, if that makes sense.

@gmlewis gmlewis added the DO NOT MERGE Do not merge this PR. label Mar 16, 2026
@maishivamhoo123
Copy link
Contributor Author

@gmlewis Thanks for the clarification. I’ll keep this in mind for my next PR and make sure deprecated fields are handled appropriately. Thank you !

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

Labels

DO NOT MERGE Do not merge this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New API Version

2 participants