apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /teams/{team_id}/repos/{owner}/{repo} — GitHub API

GitHub playground

Add or update team repository permissions (Legacy)

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

1 body fields
  • permission · optional · string — The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.