delete_workout
Delete a logged workout by the ID shown in read_workouts, removing its photos/videos and syncing the deletion across devices.
Instructions
Delete a logged workout (by the id read_workouts shows; for a workout from before ids, "YYYY-MM-DD|"). A remembered working weight that came from it falls back to the best left in history; its photos and videos are deleted by openGym after a grace period. openGym records the deletion, so every updated device drops the entry too; it comes back only from a device still on openGym 1.3.9 with unsynced changes, or from a device that edits the entry after the deletion before it syncs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workout id as read_workouts shows it (a workout from before ids: its day and start, "YYYY-MM-DD|<start>") |