diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-09-06 09:15:34 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-09-06 09:15:34 +0200 |
commit | 4dff341af11d651d1ec199d35eebaf4adb92fdd0 (patch) | |
tree | 16af980ef39a2aae283fa4ed1b747bad89456b71 /doc/api/project_snippets.md | |
parent | 745bc35666ce7e6cc3fbdb08596e4e18a35f8e04 (diff) | |
download | gitlab-ce-4dff341af11d651d1ec199d35eebaf4adb92fdd0.tar.gz |
Fix wrong API status codes
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r-- | doc/api/project_snippets.md | 3 |
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 |