---
search:
  tags:
    - Phases
    - POST
seo:
  description: >-
    Closes the open phase on the given day (default today) without starting
    another. Reference for the POST /api/phases/{id}/end endpoint in the skcal
    API.
sidebar:
  label: End a phase
  badge: POST
title: End a phase
type: openapi-operation
---
Closes the open phase on the given day (default today) without starting another.

`POST /api/phases/{id}/end`

**Responses**

- `200` — The phase was ended.
- `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"
}
```
