Update To delete an app
parent
0489bef720
commit
0277c286b6
|
@ -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
|
||||
```
|
Loading…
Reference in New Issue
Block a user