From 4dff341af11d651d1ec199d35eebaf4adb92fdd0 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Wed, 6 Sep 2017 09:15:34 +0200 Subject: Fix wrong API status codes --- doc/api/project_snippets.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/api/project_snippets.md') 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 -- cgit v1.2.1