File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -80,4 +80,19 @@ out or setting it to `false` will make sure you're not overwriting work.
8080 : Location => "https://api.github.com/git/:user/:repo/commit/:sha " %>
8181<%= json : ref %>
8282
83+ ## Delete a Reference
84+
85+ DELETE /repos/:user/:repo/git/refs/:ref
86+
87+ Example: Deleting a branch:
88+
89+ DELETE /repos/octocat/Hello-World/git/refs/heads/feature-a
90+
91+ Example: Deleting a tag:
92+
93+ DELETE /repos/octocat/Hello-World/git/refs/tags/v1.0
94+
95+ ### Response
96+
97+ <%= headers 204 %>
8398
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ You can only send one of these scope keys at a time.
222222
223223### Response
224224
225- <%= headers 204 %>
225+ <%= headers 204 %>
226226
227227## More Information
228228
You can’t perform that action at this time.
0 commit comments