Skip to content

Commit 8fedece

Browse files
committed
Merge pull request github#443 from github/repos_stay_on_owners_team
document inability to remove repo from owners team
2 parents 58f51f4 + a656856 commit 8fedece

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/v3/orgs/teams.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ organization, you get:
205205
## Remove team repository {#remove-team-repo}
206206

207207
In order to remove a repository from a team, the authenticated user must be an
208-
owner of the org that the team is associated with.
208+
owner of the org that the team is associated with. Also, since the Owners team
209+
always has access to all repositories in the organization, repositories cannot
210+
be removed from the Owners team.
209211
NOTE: This does not delete the repository, it just removes it from the team.
210212

211213
DELETE /teams/:id/repos/:owner/:repo

0 commit comments

Comments
 (0)