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-10-13 20:32:10 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-10-14 15:16:27 +0300
commit04593581037bca7a7c3b00c719404e610c158cc1 (patch)
treebbdf004bd6d7ae543ffe7fb22be5259762150227 /doc/api/system_hooks.md
parentfbeaa7518d8cf86ad62e94e9bc86ffe63715dffd (diff)
API: Fix Sytem hooks delete behavior
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r--doc/api/system_hooks.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md
index 1802fae14fe..073e99b7147 100644
--- a/doc/api/system_hooks.md
+++ b/doc/api/system_hooks.md
@@ -98,11 +98,8 @@ Example response:
## Delete system hook
-Deletes a system hook. This is an idempotent API function and returns `200 OK`
-even if the hook is not available.
-
-If the hook is deleted, a JSON object is returned. An error is raised if the
-hook is not found.
+Deletes a system hook. It returns `200 OK` if the hooks is deleted and
+`404 Not Found` if the hook is not found.
---