How to create teams using github api and graphql

Hello this is my github team link https://github.com/orgs/bestbestbesttest/teams/

I have gone through the api documentation and also graphql documentation iam unable to understand.

I request how can we create teams through graphql and also through api…?

Thanks!

1 Like

I don’t see a mutation for creating a team in the GraphQL API documentation. But there is a REST API endpoint for that.

I hope that helps!

Is there any documentation on the gap between what is possible to do with REST v4 and GraphQL v4? Like the creation of teams, but possibly other things?