/api/v1/training/workout-plans/{workout-plan-id}/sessions/{session-id}Update a session in a specific workout plan.
| Permission | Description |
|---|---|
workout_plan_sessions.update | Update sessions for your workout plans |
workout_plans.update | Update your own workout plans |
| Name | Type | Required | Description |
|---|---|---|---|
title | string | No | Title of the session (max 255, e.g. Leg Day) |
day | string | No | Weekday of the session (saturday, etc.) |
description | string | No | Description (max 2000, optional) |
All parameters are optional. If omitted, they will not be updated.
<workout plan session resource>
| Status | Error Type | Reference |
|---|---|---|
| 422 | Validation Error | Validation error |
| 401 | Unauthorized | Authentication error |
| 404 | Not Found | Not-found error |
| 403 | Forbidden | Permission error |