diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-10-13 19:32:10 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-10-14 14:16:27 +0200 |
commit | 04593581037bca7a7c3b00c719404e610c158cc1 (patch) | |
tree | bbdf004bd6d7ae543ffe7fb22be5259762150227 /doc | |
parent | fbeaa7518d8cf86ad62e94e9bc86ffe63715dffd (diff) | |
download | gitlab-ce-04593581037bca7a7c3b00c719404e610c158cc1.tar.gz |
API: Fix Sytem hooks delete behaviorfix-system-hook-api
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/system_hooks.md | 7 |
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. --- |