Update To delete an app
parent
0489bef720
commit
0277c286b6
|
@ -13,24 +13,30 @@
|
||||||
If it is successful:
|
If it is successful:
|
||||||
```
|
```
|
||||||
App deleted successfully
|
App deleted successfully
|
||||||
|
|
||||||
|
Status code: 200
|
||||||
```
|
```
|
||||||
If there is no token or a invalid token:
|
If there is no token or a invalid token:
|
||||||
```
|
```
|
||||||
Unauthorized
|
Unauthorized
|
||||||
|
|
||||||
|
Status code: 401
|
||||||
```
|
```
|
||||||
If there is no app ID specified:
|
If there is no app ID specified:
|
||||||
```
|
```
|
||||||
App ID is required
|
App ID is required
|
||||||
|
|
||||||
|
Status code: 400
|
||||||
```
|
```
|
||||||
If there is a invalid app ID specified:
|
If there is a invalid app ID specified:
|
||||||
```
|
```
|
||||||
App not found
|
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)
|
Status code: 404
|
||||||
```
|
|
||||||
Failed to delete file: /file/path
|
|
||||||
```
|
```
|
||||||
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)
|
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
|
Failed to save apps
|
||||||
|
|
||||||
|
Status code: 500
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user