در حال بارگذاری…
Delete a session from a specific workout plan.
| Permission | Description |
|---|---|
workout_plan_sessions.delete | Delete sessions for your workout plans |
workout_plans.update | Update your own workout plans |
Despite the 204, this endpoint does return a JSON body — a localized confirmation message.
HTTP defines 204 as bodyless, so some clients and proxies discard it; treat the body as informational,
not something to depend on.
{
"message": "Session deleted successfully."
}
Localized from messages.training.workout_plans.sessions.deleted_successfully (fa: “جلسه تمرینی با موفقیت حذف شد.”).
| Status | Error Type | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 404 | Not Found | Not-found error |
| 403 | Forbidden | Permission error |