Delete a logged set
delete_setChanges- 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
Remove one mis-logged set from a workout by its set id — a set the user never did, or a duplicate. Idempotent: succeeds with no error even if the set is already gone. Works on BOTH the in-progress workout and past ended workouts, so it's the way to correct history. Identify the set by its id from get_workout. To change a set's values instead of removing it, use update_set. Returns the updated session so you can confirm the remaining sets.
Parameters
sessionIdid, requiredSession UUID fromlist_workouts/get_workout.setIdid, requiredSet UUID — theidon a set insideget_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.