summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-01-15 23:03:43 +0100
committerJacopo <beschi.jacopo@gmail.com>2018-01-16 13:11:59 +0100
commitfa84b98796bb63eea42a8685e4a129433efd353f (patch)
tree9b016eec08dd8120f1106055a3f183dd66ebac52 /doc/api
parentbe353219d1eec05a7b04e9c2e94f61573889549d (diff)
downloadgitlab-ce-fa84b98796bb63eea42a8685e4a129433efd353f.tar.gz
Enables Project Milestone Deletion via API
Enables project milestone deletion via DELETE /projects/:id/milestones/:milestone_id
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/milestones.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md
index 84930f0bdc9..d35e940d7b1 100644
--- a/doc/api/milestones.md
+++ b/doc/api/milestones.md
@@ -93,6 +93,19 @@ Parameters:
- `start_date` (optional) - The start date of the milestone
- `state_event` (optional) - The state event of the milestone (close|activate)
+## Delete project milestone
+
+Only for user with developer access to the project.
+
+```
+DELETE /projects/:id/milestones/:milestone_id
+```
+
+Parameters:
+
+- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user
+- `milestone_id` (required) - The ID of the project's milestone
+
## Get all issues assigned to a single milestone
Gets all issues assigned to a single project milestone.