PUT /api/v1/training/workout-plans/{workout-plan-id}Update a workout plan.
| Permission | Description |
|---|---|
workout_plans.update | Update your own or trainee's workout plans |
| Name | Type | Required | Description |
|---|---|---|---|
title | string | No | Title of the workout plan (max 255) |
description | string | No | Description (max 2000, optional) |
is_active | boolean | No | Set as active plan (optional, default false). It changes all other plans to false if is set to true |
All parameters are optional. If omitted, they will not be updated.
Note: Current active plan will automatically get deactivated if you set
is_activeto true.
<workout plan resource>