Update a workout record in the tracker system.
| Permission | Description |
|---|---|
tracker_workouts.update | Update tracker workout |
| Name | Type | Required | Description |
|---|---|---|---|
start | string | No | Start datetime of the workout |
workout_plan_session_id | int | No | ID of the workout plan session (if based on a plan) |
workout_title | string | No | Optional title for the workout |
end | string | No | End datetime of the workout |
notes | string | No | Optional notes |
All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.
<tracker workout resource>
| Status | Error Type | Reference |
|---|---|---|
| 422 | Validation Error | Validation error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden | Permission error |