Loki Docs
Tools › Workouts › Delete a workout template

Delete a workout template

delete_workout_templateChanges
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

Delete the calling user's workout template by its UUID id. Idempotent: returns deleted: false if the template did not exist.

Parameters

  • idid, requiredTemplate UUID returned by list_workout_templates.
  • clientHandletext, optionalOptional client_handle from list_clients to run this tool against a coached client's data instead of your own. Omit (or pass null) for your own data — the legacy default.