From 257b96b5fed4027196c0bb7e207a95b90e16f570 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 15 Jan 2018 12:44:08 +0100 Subject: [PATCH] Updates API-Authors.md Auto commit by GitBook Editor --- API-Authors.md | 1 + API-Books.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/API-Authors.md b/API-Authors.md index aa8e573..7c6ee2f 100644 --- a/API-Authors.md +++ b/API-Authors.md @@ -120,6 +120,7 @@ Deletes a author by its `ID`. **200** The author was successfully deleted. **400** `ID` is empty or no author with this `ID` exists. Returns a more specific message. +**404** No author with this `ID` exists. **500** An error occured while deleting. #### Example diff --git a/API-Books.md b/API-Books.md index 4d8b351..09639e4 100644 --- a/API-Books.md +++ b/API-Books.md @@ -213,7 +213,8 @@ Deletes a book by its `ID`. #### Response **200** The book was successfully deleted. -**404** `ID` is empty or no book with this `ID` exists. +**400** `ID` is invalid. +**404** No book with this `ID` exists. **500** A server error occured. #### Example