From 0277c286b64754f6735d8c0656bc1515bac810f5 Mon Sep 17 00:00:00 2001 From: matu6968 Date: Sun, 10 Nov 2024 23:58:37 +0100 Subject: [PATCH] Update To delete an app --- To-delete-an-app.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/To-delete-an-app.md b/To-delete-an-app.md index 6440fa4..42eb427 100644 --- a/To-delete-an-app.md +++ b/To-delete-an-app.md @@ -13,24 +13,30 @@ If it is successful: ``` App deleted successfully + +Status code: 200 ``` If there is no token or a invalid token: ``` Unauthorized + +Status code: 401 ``` If there is no app ID specified: ``` App ID is required + +Status code: 400 ``` If there is a invalid app ID specified: ``` App not found -``` -If there is a problem while deleting the uploaded file: (likely cause is directory where the binary is located is set to read only) -``` -Failed to delete file: /file/path + +Status code: 404 ``` If there is a problem while saving apps.json onto the host: (likely cause is directory where the binary is located is set to read only) ``` Failed to save apps + +Status code: 500 ``` \ No newline at end of file