Skip to main content
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

{
  "success": true
}

Authorization

  • Users can only delete their own uploads
  • Admins can delete any upload via /api/admin/uploads/{id}

Errors

StatusDescription
401Not authenticated
403Not authorized (not the owner)
404Upload not found
Deletion is permanent and cannot be undone. All associated votes and tags are also removed.