We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2cbe1 commit 3f57e50Copy full SHA for 3f57e50
2 files changed
content/v3/git/refs.md
@@ -80,4 +80,19 @@ out or setting it to `false` will make sure you're not overwriting work.
80
:Location => "https://api.github.com/git/:user/:repo/commit/:sha" %>
81
<%= json :ref %>
82
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 %>
98
content/v3/oauth.md
@@ -222,7 +222,7 @@ You can only send one of these scope keys at a time.
222
223
### Response
224
225
-<%= headers 204 %>
226
227
## More Information
228
0 commit comments