We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ffa00 commit 94cd856Copy full SHA for 94cd856
1 file changed
content/v3/repos.md
@@ -83,9 +83,7 @@ Name | Type | Description
83
84
## Create
85
86
-Create a new repository for the authenticated user. (OAuth users must supply
87
-`public_repo` scope or `repo` scope to create a public repository. OAuth users
88
-must supply `repo` scope to create a private repository.)
+Create a new repository for the authenticated user.
89
90
POST /user/repos
91
@@ -94,6 +92,13 @@ be a member of the specified organization.
94
92
95
93
POST /orgs/:org/repos
96
+### OAuth scope requirements
+
97
+When using [OAuth](/v3/oauth/#scopes), authorizations must include:
98
99
+- `public_repo` scope or `repo` scope to create a public repository
100
+- `repo` scope to create a private repository
101
102
### Input
103
104
Name | Type | Description
0 commit comments