---
search:
  tags:
    - Training
    - PATCH
seo:
  description: >-
    Renames a training day or moves it to another day number in the week.
    Reference for the PATCH /api/training/days/{id} endpoint in the skcal API.
sidebar:
  label: Edit a training day
  badge: PATCH
title: Edit a training day
type: openapi-operation
---
Renames a training day or moves it to another day number in the week.

`PATCH /api/training/days/{id}`

**Request body** (`application/json`, required)

The fields to change.

- `label` (string | null) — New label; empty or null clears it.
- `position` (integer) — New day number within the week.

Request body example:

```json
{
  "label": "Upper B",
  "position": 2
}
```

**Responses**

- `200` — The updated day.
- `400` — The request body or parameters failed validation.
- `404` — No matching resource owned by the caller.

Response example, 200:

```json
{
  "ok": true,
  "week": 2,
  "day": 1,
  "exerciseName": "Barbell Bench Press",
  "muscle": "chest"
}
```
