در حال بارگذاری…
Delete a workout plan.
| Permission | Description |
|---|---|
workout_plans.delete | Delete 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": "Workout plan deleted successfully."
}
Localized from messages.training.workout_plans.deleted_successfully (fa: “پلن تمرینی با موفقیت حذف شد.”).
| Status | Description | Reference |
|---|---|---|
| 404 | Not found | Not-found error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |