DELETE /storage/upload/{id}

Delete an uploaded file

Storage

Description

Delete a previously uploaded file. Only the user who uploaded the file can delete it.

Parameters

id integer path required
Upload ID

Responses

200 File deleted successfully
application/json
statusstring
Example: success
messagestring
Example: File deleted
401 Not authenticated
application/json
404 Upload not found
application/json
Example:
{
  "status": "error",
  "message": "Upload not found"
}