I did a terrible mistake, I connected a my friend’s garmin 520 to my pc with my garmin account and it downloaded all his activities of the past three years to my account. Is it possible to delate all his activities in one time?
I did a terrible mistake, I connected a my friend’s garmin 520 to my pc with my garmin account and it downloaded all his activities of the past three years to my account. Is it possible to delate all his activities in one time?
Moved this thread to the Garmin Connect Web forum, as this is not an issue specific to the iOS app.
You can try console script: Search activities by device.
And add inside the if - a delete request:
fetch('https://connect.garmin.com/modern/proxy/activity-service/activity/' + act['activityId'], { "headers": { 'Accept': 'application/json', 'NK': 'NT', "X-HTTP-Method-Override": "DELETE" }, "method": "POST" });
But at first - quadruple check if a search script returns correct results. Only then add deletion. And it would be better to limit results first, to check again if it works.
And to be safe, you can also Download all activities to your computer earlier.