Skip to content

Commit 9314e03

Browse files
committed
document repository deletions
1 parent 9a21fe3 commit 9314e03

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

content/v3.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ This describes the resources that make up the official GitHub API v3. If
88
you have any problems or requests please contact
99
[support](mailto:support@github.com?subject=APIv3).
1010

11-
**Note:** This API is in a beta state. Breaking changes may occur.
12-
1311
* <a href="#schema">Schema</a>
1412
* <a href="#client-errors">Client Errors</a>
1513
* <a href="#http-verbs">HTTP Verbs</a>

content/v3/oauth.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ public\_repo
126126
repo
127127
: Read/write access to public and private repos and organizations.
128128

129+
delete\_repo
130+
: Delete access to adminable repositories.
131+
129132
gist
130133
: write access to gists.
131134

content/v3/orgs/teams.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ must be a member of the team.
117117

118118
GET /teams/:id/members/:user
119119

120-
### Reponse if user is a member
120+
### Response if user is a member
121121

122122
<%= headers 204 %>
123123

124-
### Reponse if user is not a member
124+
### Response if user is not a member
125125

126126
<%= headers 404 %>
127127

@@ -133,7 +133,7 @@ is associated with.
133133

134134
PUT /teams/:id/members/:user
135135

136-
### Reponse
136+
### Response
137137

138138
<%= headers 204 %>
139139

@@ -157,7 +157,7 @@ NOTE: This does not delete the user, it just remove them from the team.
157157

158158
DELETE /teams/:id/members/:user
159159

160-
### Reponse
160+
### Response
161161

162162
<%= headers 204 %>
163163

@@ -174,11 +174,11 @@ NOTE: This does not delete the user, it just remove them from the team.
174174

175175
GET /teams/:id/repos/:user/:repo
176176

177-
### Reponse if repo is managed by this team
177+
### Response if repo is managed by this team
178178

179179
<%= headers 204 %>
180180

181-
### Reponse if repo is not managed by this team
181+
### Response if repo is not managed by this team
182182

183183
<%= headers 404 %>
184184

@@ -191,7 +191,7 @@ organization.
191191

192192
PUT /teams/:id/repos/:user/:repo
193193

194-
### Reponse
194+
### Response
195195

196196
<%= headers 204 %>
197197

@@ -215,7 +215,7 @@ NOTE: This does not delete the repo, it just removes it from the team.
215215

216216
DELETE /teams/:id/repos/:user/:repo
217217

218-
### Reponse
218+
### Response
219219

220220
<%= headers 204 %>
221221

content/v3/repos.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,15 @@ in results.
217217

218218
<%= headers 200 %>
219219
<%= json(:branch) { |h| [h] }%>
220+
221+
## Delete a Repository
222+
223+
Deleting a repository requires admin access. If OAuth is used, the
224+
`delete_repo` scope is required.
225+
226+
DELETE /repos/:user/:repo
227+
228+
### Response
229+
230+
<%= headers 204 %>
231+

0 commit comments

Comments
 (0)