cURL
curl --request DELETE \ --url https://harbor-parking.vercel.app/api/parking-spots/{id}
{ "message": "Parking spot deleted successfully", "deleted_spot_id": "123e4567-e89b-12d3-a456-426614174000" }
Remove a parking spot from the system
curl -X DELETE "https://harbor-parking.vercel.app/api/parking-spots/123e4567-e89b-12d3-a456-426614174000" \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json"
{ "error": "You can only delete your own parking spots" }