Update an exercise in a workout plan session.
| Permission | Description |
|---|---|
workout_plan_exercises.update | Update exercises for your workout plans |
workout_plans.update | Update your own workout plans |
| Name | Type | Required | Description |
|---|---|---|---|
exercise_id | int | No | ID of the exercise |
super_set_id | int | No | Parent exercise ID for supersets |
set_count | int | No | Number of sets |
rep_count | int | No | Number of reps per set |
description | string | No | Description (max 2000, optional) |
All parameters are optional. If omitted, they will not be updated.
{
"data": { /* workout plan exercise resource */ }
}
| Status | Description | Reference |
|---|---|---|
| 422 | Validation error | Validation error |
| 401 | Unauthorized | Authentication error |
| 404 | Not found | Not-found error |
| 403 | Forbidden (no permission) | Permission error |