#!/bin/bash # Clear database via API calls (if we add the endpoint) API_BASE="http://selfservice.cqers.com/drones/api" echo "🗑️ Clearing database via API..." # Clear detections curl -X DELETE "$API_BASE/detections/clear" \ -H "Content-Type: application/json" echo "✅ Database cleared"