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>2017-09-06 10:15:34 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-09-06 10:15:34 +0300
commit4dff341af11d651d1ec199d35eebaf4adb92fdd0 (patch)
tree16af980ef39a2aae283fa4ed1b747bad89456b71 /doc/api/project_snippets.md
parent745bc35666ce7e6cc3fbdb08596e4e18a35f8e04 (diff)
Fix wrong API status codes
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r--doc/api/project_snippets.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md
index 24c8ff5fa7a..ad2521230e6 100644
--- a/doc/api/project_snippets.md
+++ b/doc/api/project_snippets.md
@@ -95,8 +95,7 @@ Parameters:
## Delete snippet
-Deletes an existing project snippet. This is an idempotent function and deleting a non-existent
-snippet still returns a `200 OK` status code.
+Deletes an existing project snippet. This returns a `204 No Content` status code if the operation was successfully or `404` if the resource was not found.
```
DELETE /projects/:id/snippets/:snippet_id