undo_workout
Remove a scheduled workout or applied training week from an athlete's Garmin calendar when it should not be there, while leaving the original workout in their library for later reuse.
Instructions
Take a session (or a whole applied week) back OFF the athlete's Garmin calendar. The counterpart of apply_workout: use it when the athlete says the session should not be there after all, or after trying the write path out. It unschedules - the workout stays in their Garmin library, so applying the same proposal again puts it back on a day without building or uploading anything a second time. Only sessions this app uploaded and scheduled are touched; a calendar entry that has changed hands since is left alone and reported. Like apply_workout it needs the athlete's explicit yes, and it is not available to the app's own card runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The id of a proposal that was applied. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |