Remove an exercise from the workout
remove_exerciseChanges- What it does
- Changes or deletes something you had. Your assistant can ask you to confirm first. Safe to retry: the same call twice changes nothing more.
- Permission
- Workouts, change
workouts:write
What your assistant is told
Take an exercise out of a workout along with every set logged against it — the undo for an exercise added by mistake, or one the user skipped after starting from a template. Deleting the sets alone would leave the empty exercise sitting on their screen. This throws away logged sets, so confirm with the user unless they clearly asked for it; to remove a single bad set use delete_set instead. Defaults to the in-progress workout; pass sessionId (from list_workouts) for a past one.
Parameters
exercisetext, requiredThe exercise to take out of the workout, as a catalogslugor a numericid.sessionIdid, optionalWorkout UUID fromlist_workouts. Omit for the in-progress workout.clientHandletext, optionalOptionalclient_handlefromlist_clientsto run this tool against a coached client's data instead of your own. Omit (or pass null) for your own data — the legacy default.