summaryrefslogtreecommitdiff
path: root/doc/api/system_hooks.md
diff options
context:
space:
mode:
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.
---