Deleting a downloaded archive
Deletes a download. After deletion, it will no longer appear in the history, and downloading it again will not be possible.
DELETE/api/v1/downloads/{download}Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
downloadoptional | int | Identifier of the download to be deleted |
Response | |||||||||
204 | Successful response | ||||||||
401 | Authorization token not provided or invalid | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
| |||||||||
404 | If the download does not belong to the user or does not exist |
Example | |||||||||
JSON
|