Skip to content

None of the examples in create team show how to use parent_team_id #3484

Open
@okapetanios

Description

@okapetanios

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions