---
search:
  tags:
    - Training
    - PATCH
seo:
  description: >-
    Renames it, edits its notes, or ends it early with status completed or…
    Reference for the PATCH /api/training/mesocycles/{id} endpoint in the skcal
    API.
sidebar:
  label: Edit or end a mesocycle
  badge: PATCH
title: Edit or end a mesocycle
type: openapi-operation
---
Renames it, edits its notes, or ends it early with status completed or abandoned.

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

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

The mesocycle fields to change.

- `name` (string) — New name.
- `notes` (string | null) — New notes.
- `status` (string) — End the mesocycle early.

Request body example:

```json
{
  "name": "Winter bulk meso 1",
  "notes": null,
  "status": "completed"
}
```

**Responses**

- `200` — The updated mesocycle.
- `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"
}
```
