-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
None of the examples in create team show how to use parent_team_id #3484
Comments
Sorry this is, in part a schema issue because none of the examples in create team show parent_team_id being used: |
Thanks @okapetanios ! Indeed you do have to use |
Schema Inaccuracy
gh api
--method POST
-H "Accept: application/vnd.github+json"
-H "X-GitHub-Api-Version: 2022-11-28"
/orgs/MYORGANIZATION/teams
-f name="teamname"
-f permission='push'
-f notification_setting='notifications_enabled'
-f privacy='closed'
-f parent_team_id=7100545
I get the following error
{
"message": "Invalid request.\n\nFor 'properties/parent_team_id', "7100545" is not a number.",
"documentation_url": "https://docs.github.com/rest/teams/teams#create-a-team"
}
gh: Invalid request.
For 'properties/parent_team_id', "7100545" is not a number. (HTTP 422)
The text was updated successfully, but these errors were encountered: