Open
Description
Schema Inaccuracy
In the open API specs and docs
permission string
Deprecated. The permission that new repositories will be added to the team with when none is specified.
Default: pull
Can be one of pull, push, admin
but the admin value is not being accepted, I am getting an error response
{
"message": "Setting team permission to admin is no longer supported",
"documentation_url": "https://docs.github.com/rest/reference/teams/#update-a-team-legacy"
}
Expected
The docs and the open api specs should remove the admin value as one of the possible values.
Activity
[-]Update a team endpoint doesn't accept admin as a permission[/-][+][Schema Inaccuracy] Update a team and Update a team(legacy) endpoint doesn't accept admin as a permission[/+]