diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-01-08 10:10:04 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-01-08 10:10:04 +0100 |
commit | 4c90ed52fe6ff7b1155088c46460c411e121feb3 (patch) | |
tree | c37c4109b8086f0848703d39efeffcbaff0b6ac1 /doc | |
parent | e78ddb09733beced9d4d34e8f68966f18210bef7 (diff) | |
download | gitlab-ce-4c90ed52fe6ff7b1155088c46460c411e121feb3.tar.gz |
Delete tag via APIapi-delete-tag
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/tags.md | 20 |
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 |