Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-01-08 12:10:04 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-01-08 12:10:04 +0300
commit4c90ed52fe6ff7b1155088c46460c411e121feb3 (patch)
treec37c4109b8086f0848703d39efeffcbaff0b6ac1 /doc/api/tags.md
parente78ddb09733beced9d4d34e8f68966f18210bef7 (diff)
Delete tag via API
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r--doc/api/tags.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md
index 085d387e824..17d12e9cc62 100644
--- a/doc/api/tags.md
+++ b/doc/api/tags.md
@@ -83,6 +83,26 @@ it will contain the annotation.
It returns 200 if the operation succeed. In case of an error,
405 with an explaining error message is returned.
+## Delete a tag
+
+Deletes a tag of a repository with given name. On success, this API method
+returns 200 with the name of the deleted tag. If the tag does not exist, the
+API returns 404.
+
+```
+DELETE /projects/:id/repository/tags/:tag_name
+```
+
+Parameters:
+
+- `id` (required) - The ID of a project
+- `tag_name` (required) - The name of a tag
+
+```json
+{
+ "tag_name": "v4.3.0"
+}
+```
## Create a new release