From 7342a4566cc2eef0e434f3aea0eac48674baaaf1 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Mon, 14 Mar 2016 21:46:44 +0100 Subject: Dry destroy action on issuables --- doc/api/issues.md | 2 +- doc/api/merge_requests.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/api/issues.md b/doc/api/issues.md index 5df7ce9f006..e2050db06d9 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -328,7 +328,7 @@ Example response: ## Delete existing issue -Only for admins. Soft deletes the issue in question. Returns the issue which was deleted. +Only for admins and project owners. Soft deletes the issue in question. Returns the issue which was deleted. ``` DELETE /projects/:id/issues/:issue_id diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 977e16b8601..499e56c6395 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -382,7 +382,7 @@ If an error occurs, an error number and a message explaining the reason is retur ## Delete a MR -Soft deletes a merge request. For admins only. +Soft deletes a merge request. For admins and owners only. ``` DELETE /projects/:id/merge_requests/:merge_request_id -- cgit v1.2.1