Icu Bulk Update Event Access
icu_bulk_update_event_accessHide/reveal or lock/unlock many planned workout calendar events at once to stage training blocks and reveal sessions weekly. Only the access flags you pass change.
Instructions
Hide/reveal or lock/unlock MANY planned WORKOUT calendar events at once.
Sets the web UI's "Hide from athlete" and "Athlete cannot edit" checkboxes —
e.g. build a training block ahead of time, hide it, and reveal it week by
week, or lock key sessions. Only the flags you pass are changed. Only
WORKOUT events are touched: notes, races and targets are reported under
skipped. IDs are calendar event IDs (from icu_get_calendar_events /
icu_get_upcoming_workouts), not workout-library IDs. For one event use
icu_update_event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newest | No | Last day of the date range (YYYY-MM-DD), inclusive | |
| oldest | No | First day of a date range (YYYY-MM-DD), with newest. Use instead of event_ids | |
| event_ids | No | JSON array of calendar event IDs (e.g. '[123, 456]'). Use this OR oldest+newest | |
| athlete_id | No | Athlete ID (for coaches managing multiple athletes) | |
| hide_from_athlete | No | true hides the workouts from the athlete, false reveals them | |
| athlete_cannot_edit | No | true locks the workouts against athlete edits, false unlocks them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |