Delete file
DELETE
/files/{id}Contract
Parameter | Value |
|---|---|
| Section | files |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | File ID |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | File deleted | no body |
400 | Invalid ID | object |
401 | Unauthorized | object |
500 | Failed to delete the file from disk or the database | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }