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