Delete an upload. Only the owner can delete their uploads.
Request
curl -X DELETE https://api.fucksornot.com/api/upload/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Response
Authorization
- Users can only delete their own uploads
- Admins can delete any upload via
/api/admin/uploads/{id}
Errors
| Status | Description |
|---|
| 401 | Not authenticated |
| 403 | Not authorized (not the owner) |
| 404 | Upload not found |
Deletion is permanent and cannot be undone. All associated votes and tags are also removed.