Actions41
- Activity Actions
- Athlete Actions
- Club Actions
- Gear Actions
- Route Actions
- Segment Actions
- Segment Effort Actions
- Stream Actions
- Upload Actions
- Web Session (Undocumented) Actions
Activity → Update Activity
AI-generatedSummary
Update an activity owned by the authenticated Strava athlete by sending the selected fields to Strava. Requires the activity:write scope.
Inputs
- Activity ID (required) — Numeric identifier of the activity to update.
- Fields to Update — Optionally set Commute, Description, Gear ID, Hide From Home, Name, Sport Type, Trainer, or deprecated Type. Only non-empty values are sent; enter
nonefor Gear ID to clear the associated gear.
Output shape
A single activity record
Returns the JSON response from Strava for the updated activity. The request uses PUT; empty strings are omitted, while false boolean values are retained when explicitly selected.