Here's an approach to bulk delete activities in Garmin Connect using javascript and the unofficial Garmin Connect API:
index.tsx983 chars33 linesindex.tsx339 chars11 linesindex.tsx291 chars10 linesTo bulk delete activities, you can simply iterate over the list of activities retrieved in step 2 and call deleteActivity for each one:
index.tsx338 chars8 linesNote that the above approach uses the unofficial Garmin Connect API, which may stop working if Garmin decides to change their API. Also, there are risks associated with using unofficial APIs as they may violate the terms of use of the service being accessed.
gistlibby LogSnag