Add or update team repository permissions GraphQL?

Is there an API similar to Add or update team repository permissions for GraphQL?

:wave: @parithiban: There isn’t a specific mutation in the GitHub GraphQL API for adding or updating a team’s repository permissions; we suggest using the REST API endpoint to accomplish that.