set_gear_activity_defaults
Set default gear for specific activity types on Garmin Connect. Confirm before calling—this action is irreversible and overwrites existing defaults.
Instructions
The working way to set gear defaults (the old dedicated default-gear endpoint is dead; there is no setGearDefault). Read-modify-writes the v2 record: GETs /gear-service/gear/v2/{uuid}, replaces associatedActivityTypes with [{activityTypeKey, defaultGear: true, preferredGear: false}] per key, PUTs the whole record back. Keys are lowercase ("running"), matching createGear, NOT setGearDefault's upper-cased form. [] clears all defaults. Concurrent callers can clobber each other IRREVERSIBLE: confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gearUUID | Yes | ||
| activityTypeKeys | Yes |